mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
dirstate.forget() takes a list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dirstate.forget() takes a list manifest hash: e444474a5ac76d3562ee8c0211e1a88ec53155ef -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFC0WO+ywK+sNU5EO8RAlmYAJ9pcSgpvvuqLzfUkeApXZyOb3j6pQCgi9Te e8ZI236WNWfyrwEASxFIeLM= =yDVZ -----END PGP SIGNATURE-----
This commit is contained in:
parent
9f4ad36efb
commit
2b45be3873
@ -897,7 +897,7 @@ class localrepository:
|
|||||||
self.ui.warn("%s still exists!\n" % f)
|
self.ui.warn("%s still exists!\n" % f)
|
||||||
elif self.dirstate.state(f) == 'a':
|
elif self.dirstate.state(f) == 'a':
|
||||||
self.ui.warn("%s never committed!\n" % f)
|
self.ui.warn("%s never committed!\n" % f)
|
||||||
self.dirstate.forget(f)
|
self.dirstate.forget([f])
|
||||||
elif f not in self.dirstate:
|
elif f not in self.dirstate:
|
||||||
self.ui.warn("%s not tracked!\n" % f)
|
self.ui.warn("%s not tracked!\n" % f)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user