tests/test-alias.out
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 01 Sep 2007 02:49:18 -0300
changeset 5279 2dbd750b3ddd
parent 4800 6aa1fae4c28a
permissions -rw-r--r--
convert: clear the dirstate before a conversion, invalidate it afterwards Clearing it before the conversion protects us from whatever data were there (file copies in particular). Invalidating it after the conversion avoids writing a possibly inconsistent dirstate to disk.

% basic
% unknown
*** [alias] unknown: command bargle is unknown
% ambiguous
*** [alias] ambiguous: command s is ambiguous
% recursive
*** [alias] recursive: circular dependency on recursive
adding foo
% with opts
C foo