diff hgext/largefiles/overrides.py @ 17271:a09cc6aeed4a stable

largefiles: support revsets for outgoing --large Previous to this, outgoing with a revset succeeded unless --large was also specified.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 20 Jul 2012 19:08:26 -0400
parents acfab0754584
children eac3f9c2f9c5
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Fri Jul 20 23:50:52 2012 -0400
+++ b/hgext/largefiles/overrides.py	Fri Jul 20 19:08:26 2012 -0400
@@ -932,7 +932,7 @@
     dest, branches = hg.parseurl(dest, opts.get('branch'))
     revs, checkout = hg.addbranchrevs(repo, repo, branches, opts.get('rev'))
     if revs:
-        revs = [repo.lookup(rev) for rev in revs]
+        revs = [repo.lookup(rev) for rev in scmutil.revrange(repo, revs)]
 
     remoteui = hg.remoteui