[PATCH] issue789: Test that qpush can't handle moving file well

Hideya 'OhaC' OHASHI ohachige at gmail.com
Wed Oct 31 08:36:52 UTC 2007


# HG changeset patch
# User OHASHI Hideya <ohachige at gmail.com>
# Date 1193803314 -32400
# Node ID 94bde820f2a527718480405e7634e5e41c201d1e
# Parent  285ecfcd9a1fbd201d3e792dea11e0c7861449e2
issue789: Test that qpush can't handle moving file well

diff -r 285ecfcd9a1f -r 94bde820f2a5 tests/test-issue789
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-issue789       Wed Oct 31 13:01:54 2007 +0900
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Test that qpush can't handle moving file well
+
+echo "[extensions]" >> $HGRCPATH
+echo "mq=" >> $HGRCPATH
+
+hg init repo
+cd repo
+
+mkdir a
+touch a/foo
+hg ci -Am 'add foo' -d '0 0'
+
+hg qinit
+hg qnew patch1
+hg mv a/foo .
+hg qrefresh
diff -r 285ecfcd9a1f -r 94bde820f2a5 tests/test-issue789.out
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-issue789.out   Wed Oct 31 13:01:54 2007 +0900
@@ -0,0 +1,1 @@
+adding a/foo



More information about the Mercurial-devel mailing list