Rev 2494: merge news in http://sourcefrog.net/bzr/test-cleanup
Martin Pool
mbp at sourcefrog.net
Fri Jun 15 08:28:51 BST 2007
At http://sourcefrog.net/bzr/test-cleanup
------------------------------------------------------------
revno: 2494
revision-id: mbp at sourcefrog.net-20070615072849-0u2u4suxx241ifzv
parent: mbp at sourcefrog.net-20070615070124-clpwqh5gxc4wbf9l
parent: pqm at pqm.ubuntu.com-20070615062113-gl52qb0poutr1rm2
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: test-cleanup
timestamp: Fri 2007-06-15 17:28:49 +1000
message:
merge news
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/builtins.py builtins.py-20050830033751-fc01482b9ca23183
------------------------------------------------------------
revno: 2485.1.44
merged: pqm at pqm.ubuntu.com-20070615062113-gl52qb0poutr1rm2
parent: pqm at pqm.ubuntu.com-20070614060745-ywfqw6rm1sgtfx6i
parent: mbp at sourcefrog.net-20070615052724-yeec92utnzbd2z1w
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2007-06-15 07:21:13 +0100
message:
Better option names for missing (elliot)
------------------------------------------------------------
revno: 2485.1.43.1.1
merged: mbp at sourcefrog.net-20070615052724-yeec92utnzbd2z1w
parent: pqm at pqm.ubuntu.com-20070614060745-ywfqw6rm1sgtfx6i
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: trivial
timestamp: Fri 2007-06-15 15:27:24 +1000
message:
Better option names for missing (elliot)
=== modified file 'NEWS'
--- a/NEWS 2007-06-15 07:01:24 +0000
+++ b/NEWS 2007-06-15 07:28:49 +0000
@@ -13,6 +13,9 @@
abbreviated format info. ``info -v`` displays all the information
formerly displayed by ``info``. (Aaron Bentley)
+ * ``bzr missing`` now has better option names ``--this`` and ``--other``.
+ (Elliot Murphy)
+
TESTING:
* Removed the ``--keep-output`` option from selftest and clean up test
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py 2007-06-15 07:01:24 +0000
+++ b/bzrlib/builtins.py 2007-06-15 07:28:49 +0000
@@ -2965,7 +2965,7 @@
class cmd_missing(Command):
"""Show unmerged/unpulled revisions between two branches.
-
+
OTHER_BRANCH may be local or remote.
"""
@@ -2974,8 +2974,10 @@
takes_options = [Option('reverse', 'Reverse the order of revisions'),
Option('mine-only',
'Display changes in the local branch only'),
+ Option('this' , 'same as --mine-only'),
Option('theirs-only',
- 'Display changes in the remote branch only'),
+ 'Display changes in the remote branch only'),
+ Option('other', 'same as --theirs-only'),
'log-format',
'show-ids',
'verbose'
@@ -2985,9 +2987,15 @@
@display_command
def run(self, other_branch=None, reverse=False, mine_only=False,
theirs_only=False, log_format=None, long=False, short=False, line=False,
- show_ids=False, verbose=False):
+ show_ids=False, verbose=False, this=False, other=False):
from bzrlib.missing import find_unmerged, iter_log_revisions
from bzrlib.log import log_formatter
+
+ if this:
+ mine_only = this
+ if other:
+ theirs_only = other
+
local_branch = Branch.open_containing(u".")[0]
parent = local_branch.get_parent()
if other_branch is None:
More information about the bazaar-commits
mailing list