Mercurial > public > mercurial-scm > hg-stable
diff hgext/largefiles/overrides.py @ 23039:1350b9170089
largefiles: remove confusing rev parameter for lfdirstatestatus
Dirstate only works on the repo wctx.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 03 Oct 2014 00:42:40 +0200 |
parents | 3f581bfbb268 |
children | 46c5983ce48f |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Fri Oct 03 00:42:40 2014 +0200 +++ b/hgext/largefiles/overrides.py Fri Oct 03 00:42:40 2014 +0200 @@ -660,7 +660,7 @@ wlock = repo.wlock() try: lfdirstate = lfutil.openlfdirstate(ui, repo) - s = lfutil.lfdirstatestatus(lfdirstate, repo, repo['.'].rev()) + s = lfutil.lfdirstatestatus(lfdirstate, repo) lfdirstate.write() for lfile in s.modified: lfutil.updatestandin(repo, lfutil.standin(lfile))