summary: remove passing of rev because summary does not have this
authorSimon Heimberg <simohe@besonet.ch>
Tue, 06 Nov 2012 00:22:56 +0100
changeset 19379 83d0df2ddf3f
parent 19378 9de689d20230
child 19380 ee07f9d142c9
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.
mercurial/commands.py
--- 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))