diff --git a/tests/test-debugrename.out b/tests/test-debugrename.out deleted file mode 100644 --- a/tests/test-debugrename.out +++ /dev/null @@ -1,5 +0,0 @@ -adding a -b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 -a renamed from b:37d9b5d994eab34eda9c16b195ace52c7b129980 -% test with --rev -b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 diff --git a/tests/test-debugrename b/tests/test-debugrename.t old mode 100755 new mode 100644 rename from tests/test-debugrename rename to tests/test-debugrename.t --- a/tests/test-debugrename +++ b/tests/test-debugrename.t @@ -1,17 +1,18 @@ -#!/bin/sh - -hg init -echo a > a -hg ci -Am t + $ hg init + $ echo a > a + $ hg ci -Am t + adding a -hg mv a b -hg ci -Am t1 -hg debugrename b + $ hg mv a b + $ hg ci -Am t1 + $ hg debugrename b + b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 -hg mv b a -hg ci -Am t2 -hg debugrename a + $ hg mv b a + $ hg ci -Am t2 + $ hg debugrename a + a renamed from b:37d9b5d994eab34eda9c16b195ace52c7b129980 -echo % test with --rev -hg debugrename --rev 1 b + $ hg debugrename --rev 1 b + b renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3