Show More
@@ -2088,7 +2088,7 b' def remove(ui, repo, m, prefix, after, f' | |||
|
2088 | 2088 | return True |
|
2089 | 2089 | return False |
|
2090 | 2090 | |
|
2091 | if f in repo.dirstate or f in wctx.dirs() or insubrepo(): | |
|
2091 | if f in repo.dirstate or f in wctx.dirs() or f == '.' or insubrepo(): | |
|
2092 | 2092 | continue |
|
2093 | 2093 | |
|
2094 | 2094 | if os.path.exists(m.rel(join(f))): |
@@ -113,7 +113,7 b' Check that deep archiving works' | |||
|
113 | 113 | |
|
114 | 114 | .. but first take a detour through some deep removal testing |
|
115 | 115 | |
|
116 |
$ hg remove -S -I 're:.*.txt' |
|
|
116 | $ hg remove -S -I 're:.*.txt' . | |
|
117 | 117 | removing sub1/sub2/folder/test.txt (glob) |
|
118 | 118 | removing sub1/sub2/test.txt (glob) |
|
119 | 119 | $ hg status -S |
General Comments 0
You need to be logged in to leave comments.
Login now