Rev 2821: Redo the lost modification. in file:///v/home/vila/src/bzr/experimental/connection.sharing/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon Sep 24 15:59:03 BST 2007
At file:///v/home/vila/src/bzr/experimental/connection.sharing/
------------------------------------------------------------
revno: 2821
revision-id: v.ladeuil+lp at free.fr-20070924145902-hjkk5u3lnbhvdzlz
parent: v.ladeuil+lp at free.fr-20070918200421-9e5bkyohebe2h0eg
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: connection.sharing
timestamp: Mon 2007-09-24 16:59:02 +0200
message:
Redo the lost modification.
* bzrlib/builtins.py (cmd_commit.run): Rework 'fixes' default
value handling.
modified:
bzrlib/builtins.py builtins.py-20050830033751-fc01482b9ca23183
-------------- next part --------------
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py 2007-09-18 20:04:21 +0000
+++ b/bzrlib/builtins.py 2007-09-24 14:59:02 +0000
@@ -2257,7 +2257,7 @@
return '\n'.join(properties)
def run(self, message=None, file=None, verbose=False, selected_list=None,
- unchanged=False, strict=False, local=False, fixes=[],
+ unchanged=False, strict=False, local=False, fixes=None,
author=None, show_diff=False):
from bzrlib.commit import (
NullCommitReporter,
@@ -2288,6 +2288,8 @@
# selected-file merge commit is not done yet
selected_list = []
+ if fixes is None:
+ fixes = []
bug_property = self._get_bug_fix_properties(fixes, tree.branch)
if bug_property:
properties['bugs'] = bug_property
More information about the bazaar-commits
mailing list