Mercurial > hg
changeset 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 | 32246faba53a |
children | 632fa86aac55 1f0dd9766654 |
files | hgext/largefiles/overrides.py tests/test-largefiles.t |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
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
--- a/tests/test-largefiles.t Fri Jul 20 23:50:52 2012 -0400 +++ b/tests/test-largefiles.t Fri Jul 20 19:08:26 2012 -0400 @@ -545,8 +545,8 @@ $ hg addremove --config largefiles.patterns=**large --traceback adding large as a largefile -Test that outgoing --large works - $ hg outgoing --rev 12 --large +Test that outgoing --large works (with revsets too) + $ hg outgoing --rev '.^' --large comparing with $TESTTMP/a (glob) searching for changes changeset: 8:c02fd3b77ec4