Show More
@@ -2984,7 +2984,9 b' def amend(ui, repo, old, extra, pats, op' | |||||
2984 | # would mark them as clean but with uncommitted contents. |
|
2984 | # would mark them as clean but with uncommitted contents. | |
2985 | normalfiles = set(wctx.modified() + wctx.added()) & filestoamend |
|
2985 | normalfiles = set(wctx.modified() + wctx.added()) & filestoamend | |
2986 | for f in normalfiles: |
|
2986 | for f in normalfiles: | |
2987 |
dirstate. |
|
2987 | dirstate.update_file( | |
|
2988 | f, p1_tracked=True, wc_tracked=True, possibly_dirty=True | |||
|
2989 | ) | |||
2988 |
|
2990 | |||
2989 | # Update the state of files which were removed in the amend |
|
2991 | # Update the state of files which were removed in the amend | |
2990 | # to "removed" in the dirstate. |
|
2992 | # to "removed" in the dirstate. |
General Comments 0
You need to be logged in to leave comments.
Login now