tests/test-mq-qnew.out
author Bill Barry <after.fallout@gmail.com>
Fri, 24 Jul 2009 15:53:40 -0600
changeset 9243 df21a009c9c4
parent 7627 fb32ae9c76e7
child 9110 561ff8d9e4f0
permissions -rw-r--r--
fix issue 1763: strip chars from end of line when parsing gitpatch lines

adding a
% qnew should refuse bad patch names
abort: "series" cannot be used as the name of a patch
abort: "status" cannot be used as the name of a patch
abort: "guards" cannot be used as the name of a patch
abort: ".hgignore" cannot be used as the name of a patch
% qnew with uncommitted changes
abort: local changes found, refresh first
A somefile
% qnew implies add
A .hgignore
A series
A test.patch
% qnew missing
abort: missing: No such file or directory
% qnew -m
foo bar

% qnew twice
abort: patch "first.patch" already exists
abort: patch "first.patch" already exists
% qnew -f from a subdirectory
patch queue now empty
adding d/b
M d/b
diff --git a/d/b b/d/b
--- a/d/b
+++ b/d/b
@@ -1,1 +1,2 @@
 b
+b