changeset 19379:83d0df2ddf3f

summary: remove passing of rev because summary does not have this The command summary does not have a rev argument, so passing this results is None always. Therefore pass None explicitly.
author Simon Heimberg <simohe@besonet.ch>
date Tue, 06 Nov 2012 00:22:56 +0100
parents 9de689d20230
children ee07f9d142c9
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Jul 01 20:48:56 2013 +0200
+++ b/mercurial/commands.py	Tue Nov 06 00:22:56 2012 +0100
@@ -5511,8 +5511,7 @@
         source, branches = hg.parseurl(ui.expandpath('default'))
         sbranch = branches[0]
         other = hg.peer(repo, {}, source)
-        revs, checkout = hg.addbranchrevs(repo, other, branches,
-                                          opts.get('rev'))
+        revs, checkout = hg.addbranchrevs(repo, other, branches, None)
         if revs:
             revs = [other.lookup(rev) for rev in revs]
         ui.debug('comparing with %s\n' % util.hidepassword(source))