Mercurial > hg
diff tests/test-mq-qnew.out @ 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 | 5faf3566c96d |
children | a5903e612f07 |
line wrap: on
line diff
--- a/tests/test-mq-qnew.out Fri Jul 02 14:14:30 2010 -1000 +++ b/tests/test-mq-qnew.out Sun Mar 28 15:23:11 2010 +0900 @@ -8,6 +8,10 @@ abort: ".mqfoo" cannot be used as the name of a patch abort: "foo#bar" cannot be used as the name of a patch abort: "foo:bar" cannot be used as the name of a patch +% qnew with name containing slash +foo/bar.patch +popping foo/bar.patch +patch queue now empty % qnew with uncommitted changes uncommitted.patch % qnew implies add @@ -58,6 +62,10 @@ abort: ".mqfoo" cannot be used as the name of a patch abort: "foo#bar" cannot be used as the name of a patch abort: "foo:bar" cannot be used as the name of a patch +% qnew with name containing slash +foo/bar.patch +popping foo/bar.patch +patch queue now empty % qnew with uncommitted changes uncommitted.patch % qnew implies add