Comments
Patch
@@ -1463,4 +1463,26 @@
This is the first line
This is the second line
This is the third line
+
+Add new file from within a subdirectory
+ $ hg update -C .
+ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ $ mkdir folder
+ $ cd folder
+ $ echo "foo" > bar
+ $ hg add bar
+ $ hg record <<EOF
+ > y
+ > y
+ > EOF
+ diff --git a/folder/bar b/folder/bar
+ new file mode 100644
+ examine changes to 'folder/bar'? [Ynesfdaq?] y
+
+ @@ -0,0 +1,1 @@
+ +foo
+ record this change to 'folder/bar'? [Ynesfdaq?] y
+
+ abort: No such file or directory: 'folder/bar'
+ [255]
$ cd ..