Show More
@@ -1711,13 +1711,9 b' class workingctx(committablectx):' | |||||
1711 | uipath = lambda f: ds.pathto(pathutil.join(prefix, f)) |
|
1711 | uipath = lambda f: ds.pathto(pathutil.join(prefix, f)) | |
1712 | rejected = [] |
|
1712 | rejected = [] | |
1713 | for f in files: |
|
1713 | for f in files: | |
1714 |
if |
|
1714 | if not ds.set_untracked(f): | |
1715 | self._repo.ui.warn(_(b"%s not tracked!\n") % uipath(f)) |
|
1715 | self._repo.ui.warn(_(b"%s not tracked!\n") % uipath(f)) | |
1716 | rejected.append(f) |
|
1716 | rejected.append(f) | |
1717 | elif ds[f] != b'a': |
|
|||
1718 | ds.remove(f) |
|
|||
1719 | else: |
|
|||
1720 | ds.drop(f) |
|
|||
1721 | return rejected |
|
1717 | return rejected | |
1722 |
|
1718 | |||
1723 | def copy(self, source, dest): |
|
1719 | def copy(self, source, dest): |
General Comments 0
You need to be logged in to leave comments.
Login now