diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py +++ b/hgext/largefiles/overrides.py @@ -956,10 +956,13 @@ def override_rollback(orig, ui, repo, ** def override_transplant(orig, ui, repo, *revs, **opts): try: + oldstandins = lfutil.getstandinsstate(repo) repo._istransplanting = True result = orig(ui, repo, *revs, **opts) - lfcommands.updatelfiles(ui, repo, filelist=None, - printmessage=False) + newstandins = lfutil.getstandinsstate(repo) + filelist = lfutil.getlfilestoupdate(oldstandins, newstandins) + lfcommands.updatelfiles(repo.ui, repo, filelist=filelist, + printmessage=True) finally: repo._istransplanting = False return result diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t --- a/tests/test-largefiles.t +++ b/tests/test-largefiles.t @@ -728,6 +728,8 @@ Test that transplanting a largefile chan adding manifests adding file changes added 1 changesets with 2 changes to 2 files + getting changed largefiles + 1 largefiles updated, 0 removed $ hg log --template '{rev}:{node|short} {desc|firstline}\n' 9:598410d3eb9a modify normal file largefile in repo d 8:a381d2c8c80e modify normal file and largefile in repo b