tests: roll test-commit-copy.t into test-commit.t
authorAdrian Buehlmann <adrian@cadifra.com>
Mon, 04 Jun 2012 18:40:31 +0200
changeset 16849 928ee57e3aae
parent 16848 19a915d43a68
child 16851 c739227b5eea
tests: roll test-commit-copy.t into test-commit.t
tests/test-commit-copy.t
tests/test-commit.t
--- a/tests/test-commit-copy.t	Mon Jun 04 16:59:34 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-  $ hg init dir
-  $ cd dir
-  $ echo bleh > bar
-  $ hg add bar
-  $ hg ci -m 'add bar'
-
-  $ hg cp bar foo
-  $ echo >> bar
-  $ hg ci -m 'cp bar foo; change bar'
-
-  $ hg debugrename foo
-  foo renamed from bar:26d3ca0dfd18e44d796b564e38dd173c9668d3a9
-  $ hg debugindex bar
-     rev    offset  length   base linkrev nodeid       p1           p2
-       0         0       6      0       0 26d3ca0dfd18 000000000000 000000000000
-       1         6       7      1       1 d267bddd54f7 26d3ca0dfd18 000000000000
--- a/tests/test-commit.t	Mon Jun 04 16:59:34 2012 +0200
+++ b/tests/test-commit.t	Mon Jun 04 18:40:31 2012 +0200
@@ -283,3 +283,24 @@
   HG: removed removed
   abort: empty commit message
   [255]
+  $ cd ..
+
+
+commit copy
+
+  $ hg init dir2
+  $ cd dir2
+  $ echo bleh > bar
+  $ hg add bar
+  $ hg ci -m 'add bar'
+
+  $ hg cp bar foo
+  $ echo >> bar
+  $ hg ci -m 'cp bar foo; change bar'
+
+  $ hg debugrename foo
+  foo renamed from bar:26d3ca0dfd18e44d796b564e38dd173c9668d3a9
+  $ hg debugindex bar
+     rev    offset  length   base linkrev nodeid       p1           p2
+       0         0       6      0       0 26d3ca0dfd18 000000000000 000000000000
+       1         6       7      1       1 d267bddd54f7 26d3ca0dfd18 000000000000