tests/test-copies.t
branchstable
changeset 42645 8c5a36805d5d
parent 42621 99ebde4fec99
child 43139 f78ad4caa5ad
--- a/tests/test-copies.t	Tue Jul 23 12:03:24 2019 +0530
+++ b/tests/test-copies.t	Mon Jul 22 17:44:19 2019 -0700
@@ -58,6 +58,17 @@
   x -> y
   $ hg debugpathcopies 1 0 y
 
+Copies not including commit changes
+  $ newrepo
+  $ echo x > x
+  $ hg ci -Aqm 'add x'
+  $ hg mv x y
+  $ hg debugpathcopies . .
+  $ hg debugpathcopies . 'wdir()'
+  x -> y
+  $ hg debugpathcopies 'wdir()' .
+  y -> x
+
 Copy a file onto another file
   $ newrepo
   $ echo x > x