# HG changeset patch # User Mads Kiilerich # Date 1356692145 -3600 # Node ID 11d1a9143adbbd9eae1d1da28d1ce2e4496d32f5 # Parent d8e7b3a14957d9f9c341732cc4ec18b708bed5ff# Parent a907826c158cf53b8c3d5381323c039a10409c63 merge with stable diff -r d8e7b3a14957 -r 11d1a9143adb hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Fri Dec 28 00:02:40 2012 +0100 +++ b/hgext/largefiles/overrides.py Fri Dec 28 11:55:45 2012 +0100 @@ -567,6 +567,7 @@ lfdirstate = lfutil.openlfdirstate(ui, repo) (modified, added, removed, missing, unknown, ignored, clean) = \ lfutil.lfdirstatestatus(lfdirstate, repo, repo['.'].rev()) + lfdirstate.write() for lfile in modified: lfutil.updatestandin(repo, lfutil.standin(lfile)) for lfile in missing: diff -r d8e7b3a14957 -r 11d1a9143adb hgext/largefiles/reposetup.py --- a/hgext/largefiles/reposetup.py Fri Dec 28 00:02:40 2012 +0100 +++ b/hgext/largefiles/reposetup.py Fri Dec 28 11:55:45 2012 +0100 @@ -168,10 +168,8 @@ m = copy.copy(match) m._files = tostandins(m._files) - # Get ignored files here even if we weren't asked for them; we - # must use the result here for filtering later result = super(lfilesrepo, self).status(node1, node2, m, - True, clean, unknown, listsubrepos) + ignored, clean, unknown, listsubrepos) if working: try: # Any non-largefiles that were explicitly listed must be @@ -273,6 +271,8 @@ return f result = [[toname(f) for f in items] for items in result] + lfdirstate.write() + if not listunknown: result[4] = [] if not listignored: diff -r d8e7b3a14957 -r 11d1a9143adb mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py Fri Dec 28 00:02:40 2012 +0100 +++ b/mercurial/bundlerepo.py Fri Dec 28 11:55:45 2012 +0100 @@ -352,7 +352,7 @@ os.unlink(bundlename) except OSError: pass - return other, [], other.close + return repo, [], other.close bundle = None bundlerepo = None diff -r d8e7b3a14957 -r 11d1a9143adb tests/test-transplant.t --- a/tests/test-transplant.t Fri Dec 28 00:02:40 2012 +0100 +++ b/tests/test-transplant.t Fri Dec 28 11:55:45 2012 +0100 @@ -288,6 +288,15 @@ 1 b1 0 r1 +remote transplant without pull + + $ hg pull -q http://localhost:$HGPORT/ + $ hg transplant -s http://localhost:$HGPORT/ 2 4 + searching for changes + skipping already applied revision 2:8d9279348abb + applying 722f4667af76 + 722f4667af76 transplanted to 76e321915884 + transplant --continue $ hg init ../tc