summaryrefslogtreecommitdiff
path: root/tests/test-issue1089.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-issue1089.t')
-rw-r--r--tests/test-issue1089.t26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/test-issue1089.t b/tests/test-issue1089.t
new file mode 100644
index 0000000..2bdd3d0
--- /dev/null
+++ b/tests/test-issue1089.t
@@ -0,0 +1,26 @@
+http://mercurial.selenic.com/bts/issue1089
+
+ $ hg init
+ $ mkdir a
+ $ echo a > a/b
+ $ hg ci -Am m
+ adding a/b
+
+ $ hg rm a
+ removing a/b (glob)
+ $ hg ci -m m a
+
+ $ mkdir a b
+ $ echo a > a/b
+ $ hg ci -Am m
+ adding a/b
+
+ $ hg rm a
+ removing a/b (glob)
+ $ cd b
+
+Relative delete:
+
+ $ hg ci -m m ../a
+
+ $ cd ..