- ingo@aeolus:~/hg-test$ hg cp foo foo2
- ingo@aeolus:~/hg-test$ hg ci -m "copy foo"
- ingo@aeolus:~/hg-test$ hg export tip
- # HG changeset patch
- # User planetmaker <planetmaker@openttd.org>
- # Date 1415711194 -3600
- # Tue Nov 11 14:06:34 2014 +0100
- # Node ID 0b428aa7bdf8495abd33fa427000317fc9b85dd2
- # Parent 888a9a6be6b389f23e5d9eaa23abe3561b655512
- copy foo
- diff --git a/foo b/foo2
- copy from foo
- copy to foo2
- ingo@aeolus:~/hg-test$ hg mv foo2 foo22
- ingo@aeolus:~/hg-test$ hg ci -m "Move foo2"
- ingo@aeolus:~/hg-test$ hg export tip
- # HG changeset patch
- # User planetmaker <planetmaker@openttd.org>
- # Date 1415711229 -3600
- # Tue Nov 11 14:07:09 2014 +0100
- # Node ID 36479da8f2668218a3c99347cf90a15dd24e98d0
- # Parent 0b428aa7bdf8495abd33fa427000317fc9b85dd2
- Move foo2
- diff --git a/foo2 b/foo22
- rename from foo2
- rename to foo22