Show More
@@ -1447,8 +1447,7 class workingctx(committablectx): | |||
|
1447 | 1447 | |
|
1448 | 1448 | def forget(self, files, prefix=""): |
|
1449 | 1449 | join = lambda f: os.path.join(prefix, f) |
|
1450 |
w |
|
|
1451 | try: | |
|
1450 | with self._repo.wlock(): | |
|
1452 | 1451 | rejected = [] |
|
1453 | 1452 | for f in files: |
|
1454 | 1453 | if f not in self._repo.dirstate: |
@@ -1459,8 +1458,6 class workingctx(committablectx): | |||
|
1459 | 1458 | else: |
|
1460 | 1459 | self._repo.dirstate.drop(f) |
|
1461 | 1460 | return rejected |
|
1462 | finally: | |
|
1463 | wlock.release() | |
|
1464 | 1461 | |
|
1465 | 1462 | def undelete(self, list): |
|
1466 | 1463 | pctxs = self.parents() |
General Comments 0
You need to be logged in to leave comments.
Login now