##// END OF EJS Templates
largefiles: fix a traceback introduced with recent peer changes...
Matt Harbison -
r17270:32246fab stable
parent child Browse files
Show More
@@ -53,7 +53,7 b' def repoforget(repo, list):'
53 def findoutgoing(repo, remote, force):
53 def findoutgoing(repo, remote, force):
54 from mercurial import discovery
54 from mercurial import discovery
55 common, _anyinc, _heads = discovery.findcommonincoming(repo,
55 common, _anyinc, _heads = discovery.findcommonincoming(repo,
56 remote, force=force)
56 remote.peer(), force=force)
57 return repo.changelog.findmissing(common)
57 return repo.changelog.findmissing(common)
58
58
59 # -- Private worker functions ------------------------------------------
59 # -- Private worker functions ------------------------------------------
@@ -545,6 +545,36 b" Test that a standin can't be added as a "
545 $ hg addremove --config largefiles.patterns=**large --traceback
545 $ hg addremove --config largefiles.patterns=**large --traceback
546 adding large as a largefile
546 adding large as a largefile
547
547
548 Test that outgoing --large works
549 $ hg outgoing --rev 12 --large
550 comparing with $TESTTMP/a (glob)
551 searching for changes
552 changeset: 8:c02fd3b77ec4
553 user: test
554 date: Thu Jan 01 00:00:00 1970 +0000
555 summary: add foo
556
557 changeset: 9:289dd08c9bbb
558 user: test
559 date: Thu Jan 01 00:00:00 1970 +0000
560 summary: used to say nothing changed
561
562 changeset: 10:34f23ac6ac12
563 user: test
564 date: Thu Jan 01 00:00:00 1970 +0000
565 summary: added
566
567 changeset: 12:710c1b2f523c
568 parent: 10:34f23ac6ac12
569 user: test
570 date: Thu Jan 01 00:00:00 1970 +0000
571 summary: removed large
572
573 searching for changes
574 largefiles to upload:
575 large
576 foo
577
548 $ cd ../a
578 $ cd ../a
549
579
550 Clone a largefiles repo.
580 Clone a largefiles repo.
General Comments 0
You need to be logged in to leave comments. Login now