Mercurial > hg
diff tests/test-mq-qnew @ 11513:0c944b7af564 stable
mq: fixed ENOENT when qrename to new/directory.patch
MQ patch name can contain slashes, e.g. 'foo/bar.patch'.
Currently "qnew foo/bar.patch" works, but
"qrename foo/bar.patch new/dir.patch" fails with
"No such file or directory".
Also added test case for "qnew foo/bar.patch"
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 28 Mar 2010 15:23:11 +0900 |
parents | 92b8c79b34c2 |
children | a5903e612f07 |
line wrap: on
line diff
--- a/tests/test-mq-qnew Fri Jul 02 14:14:30 2010 -1000 +++ b/tests/test-mq-qnew Sun Mar 28 15:23:11 2010 +0900 @@ -25,6 +25,12 @@ hg qinit -c + echo '% qnew with name containing slash' + hg qnew foo/bar.patch + hg qseries + hg qpop + hg qdelete foo/bar.patch + echo '% qnew with uncommitted changes' echo a > somefile hg add somefile