Loading

Paste #py9yeju1w

  1. ingo@aeolus:~/hg-test$ hg glog -l5
  2. @  7:36479da8f266 tip foo2 2014-11-11 14:07 +0100 (planetmaker)
  3. |   Move foo2
  4. |
  5. o  6:0b428aa7bdf8 2014-11-11 14:06 +0100 (planetmaker)
  6. |   copy foo
  7. |
  8. o  5:888a9a6be6b3 2014-04-17 14:22 +0200 (planetmaker)
  9. |   -Add: New cool feature
  10. |
  11. o  4:0602f70b6892 2014-04-17 14:22 +0200 (planetmaker)
  12. |   -Codechange: Introduce foo in preparation for cool stuff
  13. |
  14. o  0:4cd637edd9b5 2014-04-17 14:20 +0200 (planetmaker)
  15.     -Add: Initial check-in
  16.  
  17. ingo@aeolus:~/hg-test$ vi foo22
  18. ingo@aeolus:~/hg-test$ hg diff
  19. diff --git a/foo22 b/foo22
  20. --- a/foo22
  21. +++ b/foo22
  22. @@ -1,1 +1,2 @@
  23.  foo is boo!
  24. +blah
  25. ingo@aeolus:~/hg-test$ hg ci -m "Commit accidential blah"
  26. ingo@aeolus:~/hg-test$ hg revert foo22 -r7
  27. ingo@aeolus:~/hg-test$ hg commit --amend
  28. ingo@aeolus:~/hg-test$ cat foo22
  29. foo is boo!
  30. ingo@aeolus:~/hg-test$ hg glog -l5
  31. @  10:0591700c7e4c tip foo2 2014-11-14 14:19 +0100 (planetmaker)
  32. |   UnCommit accidential blah
  33. |
  34. o  7:36479da8f266 2014-11-11 14:07 +0100 (planetmaker)
  35. |   Move foo2
  36. |
  37. o  6:0b428aa7bdf8 2014-11-11 14:06 +0100 (planetmaker)
  38. |   copy foo
  39. |
  40. o  5:888a9a6be6b3 2014-04-17 14:22 +0200 (planetmaker)
  41. |   -Add: New cool feature
  42. |
  43. o  4:0602f70b6892 2014-04-17 14:22 +0200 (planetmaker)
  44. |   -Codechange: Introduce foo in preparation for cool stuff
  45. |
  46. ingo@aeolus:~/hg-test$ hg export 10
  47. # HG changeset patch
  48. # User planetmaker <planetmaker@openttd.org>
  49. # Date 1415971170 -3600
  50. #      Fri Nov 14 14:19:30 2014 +0100
  51. # Node ID 0591700c7e4cc3b769318bca0e5ef506e82f9778
  52. # Parent  36479da8f2668218a3c99347cf90a15dd24e98d0
  53. UnCommit accidential blah
  54.  
  55. ingo@aeolus:~/hg-test$

Comments