Mercurial > hg
comparison tests/test-mq-qrename @ 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 | 05a682c8907d |
children | 4ae3e5dffa60 |
comparison
equal
deleted
inserted
replaced
11512:488a80c840ac | 11513:0c944b7af564 |
---|---|
20 hg qseries | 20 hg qseries |
21 ls .hg/patches/bar | 21 ls .hg/patches/bar |
22 hg qrename bar/renamed baz | 22 hg qrename bar/renamed baz |
23 hg qseries | 23 hg qseries |
24 ls .hg/patches/baz | 24 ls .hg/patches/baz |
25 hg qrename baz new/dir | |
26 hg qseries | |
27 ls .hg/patches/new/dir | |
25 cd .. | 28 cd .. |
26 | 29 |
27 echo % test patch being renamed before committed | 30 echo % test patch being renamed before committed |
28 hg init b | 31 hg init b |
29 cd b | 32 cd b |