Loading

Paste #p0cnakxrm

  1. ingo@aeolus:~/hg-test$ hg cp foo foo2
  2. ingo@aeolus:~/hg-test$ hg ci -m "copy foo"
  3. ingo@aeolus:~/hg-test$ hg export tip
  4. # HG changeset patch
  5. # User planetmaker <planetmaker@openttd.org>
  6. # Date 1415711194 -3600
  7. #      Tue Nov 11 14:06:34 2014 +0100
  8. # Node ID 0b428aa7bdf8495abd33fa427000317fc9b85dd2
  9. # Parent  888a9a6be6b389f23e5d9eaa23abe3561b655512
  10. copy foo
  11.  
  12. diff --git a/foo b/foo2
  13. copy from foo
  14. copy to foo2
  15. ingo@aeolus:~/hg-test$ hg mv foo2 foo22
  16. ingo@aeolus:~/hg-test$ hg ci -m "Move foo2"
  17. ingo@aeolus:~/hg-test$ hg export tip
  18. # HG changeset patch
  19. # User planetmaker <planetmaker@openttd.org>
  20. # Date 1415711229 -3600
  21. #      Tue Nov 11 14:07:09 2014 +0100
  22. # Node ID 36479da8f2668218a3c99347cf90a15dd24e98d0
  23. # Parent  0b428aa7bdf8495abd33fa427000317fc9b85dd2
  24. Move foo2
  25.  
  26. diff --git a/foo2 b/foo22
  27. rename from foo2
  28. rename to foo22

Comments