mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
7220dda224
This command does exactly what 'hg remove -Af [FILES]' does. The reason for creating a new command is that the options for 'hg remove' are confusing (-A removes only deleted files, -f forces deletion, and using both means *the exact opposite of both*). [mpm: simplified help text, code, and updated tests]
41 lines
604 B
Plaintext
41 lines
604 B
Plaintext
adding a
|
|
? a
|
|
adding a
|
|
A a
|
|
adding a
|
|
A a
|
|
A a
|
|
? b
|
|
A a
|
|
A b
|
|
% should fail
|
|
b already tracked!
|
|
A a
|
|
A b
|
|
% should fail
|
|
a already tracked!
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
created new head
|
|
merging a
|
|
warning: conflicts during merge.
|
|
merging a failed!
|
|
0 files updated, 0 files merged, 0 files removed, 1 files unresolved
|
|
use 'hg resolve' to retry unresolved file merges or 'hg up --clean' to abandon
|
|
M a
|
|
? a.orig
|
|
% should fail
|
|
a already tracked!
|
|
M a
|
|
? a.orig
|
|
% issue683
|
|
? a.orig
|
|
R a
|
|
? a.orig
|
|
M a
|
|
? a.orig
|
|
c: No such file or directory
|
|
d: No such file or directory
|
|
M a
|
|
A c
|
|
? a.orig
|