# HG changeset patch # User Simon Heimberg # Date 1352157776 -3600 # Node ID 83d0df2ddf3f2a07ed347afcfa30ddacc18b4c3d # Parent 9de689d20230ffdc0c6b233cf0c0d756c8521c7f 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. diff -r 9de689d20230 -r 83d0df2ddf3f 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))