Show More
@@ -156,7 +156,8 b' def removelargefiles(ui, repo, isaddremo' | |||||
156 | after = opts.get('after') |
|
156 | after = opts.get('after') | |
157 | if not pats and not after: |
|
157 | if not pats and not after: | |
158 | raise util.Abort(_('no files specified')) |
|
158 | raise util.Abort(_('no files specified')) | |
159 | m = scmutil.match(repo[None], pats, opts) |
|
159 | m = composelargefilematcher(scmutil.match(repo[None], pats, opts), | |
|
160 | repo[None].manifest()) | |||
160 | try: |
|
161 | try: | |
161 | repo.lfstatus = True |
|
162 | repo.lfstatus = True | |
162 | s = repo.status(match=m, clean=True) |
|
163 | s = repo.status(match=m, clean=True) |
@@ -134,3 +134,15 b' Test permission of files created by push' | |||||
134 | $ cd .. |
|
134 | $ cd .. | |
135 |
|
135 | |||
136 | #endif |
|
136 | #endif | |
|
137 | ||||
|
138 | Test issue 4053 (remove --after on a deleted, uncommitted file shouldn't say | |||
|
139 | it is missing, but a remove on a nonexistant unknown file still should) | |||
|
140 | ||||
|
141 | $ cd src | |||
|
142 | $ touch x | |||
|
143 | $ hg add x | |||
|
144 | $ mv x y | |||
|
145 | $ hg remove -A x y ENOENT | |||
|
146 | ENOENT: * (glob) | |||
|
147 | not removing y: file is untracked | |||
|
148 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now