mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
8c22a0ec28
Globbing is usually used for filenames, so on windows it is reasonable and very convenient that glob patterns accepts '\' or '/' when the pattern specifies '/'.
26 lines
311 B
Perl
26 lines
311 B
Perl
http://mercurial.selenic.com/bts/issue1089
|
|
|
|
$ hg init
|
|
$ mkdir a
|
|
$ echo a > a/b
|
|
$ hg ci -Am m
|
|
adding a/b
|
|
|
|
$ hg rm a
|
|
removing a/b (glob)
|
|
$ hg ci -m m a
|
|
|
|
$ mkdir a b
|
|
$ echo a > a/b
|
|
$ hg ci -Am m
|
|
adding a/b
|
|
|
|
$ hg rm a
|
|
removing a/b (glob)
|
|
$ cd b
|
|
|
|
Relative delete:
|
|
|
|
$ hg ci -m m ../a
|
|
|