Changeset 6f9eeb2e09d4…
Parent 85edfa3cd30a…
by Andrew Pritchard <andrewp@fogcreek.com>
Changes to one file · Browse files at 6f9eeb2e09d4 Showing diff from parent 85edfa3cd30a Diff from another changeset...
@@ -840,7 +840,10 @@ try:
lfdirstate = lfutil.openlfdirstate(ui, repo)
for f in forget:
- lfdirstate.remove(lfutil.unixpath(f))
+ if lfdirstate[lfutil.unixpath(f)] == 'a':
+ lfdirstate.drop(lfutil.unixpath(f))
+ else:
+ lfdirstate.remove(lfutil.unixpath(f))
lfdirstate.write()
lfutil.repo_remove(repo, [lfutil.standin(f) for f in forget],
unlink=True)
|
Loading...