- ingo@aeolus:~/hg-test$ echo bb > bb
- ingo@aeolus:~/hg-test$ hg add bb
- ingo@aeolus:~/hg-test$ hg ci -m "Add bb"
- neuer Kopf erzeugt
- ingo@aeolus:~/hg-test$ echo cc > cc
- ingo@aeolus:~/hg-test$ hg add cc
- ingo@aeolus:~/hg-test$ hg ci -m "Add cc"
- ingo@aeolus:~/hg-test$ hg glog
- @ default-5:ce0558751c5a tip 2018-08-22 16:14 +0200 (planetmaker)
- | Add cc
- |
- o default-4:b5b4c6ebc02e 2018-08-22 16:13 +0200 (planetmaker)
- | Add bb
- |
- | o default-3:c20825fedab5 2018-08-22 16:09 +0200 (planetmaker)
- | | Add d
- | |
- | o default-2:c7e92ccfd916 2018-08-22 16:09 +0200 (planetmaker)
- | | Add c
- | |
- | o default-1:bb944d081ef9 2018-08-22 16:09 +0200 (planetmaker)
- |/ Add b
- |
- o default-0:e58f8ffad506 2018-08-22 16:09 +0200 (planetmaker)
- Add a
- ingo@aeolus:~/hg-test$ hg diff -r2:4
- diff --git a/b b/b
- deleted file mode 100644
- --- a/b
- +++ /dev/null
- @@ -1,1 +0,0 @@
- -b
- diff --git a/bb b/bb
- new file mode 100644
- --- /dev/null
- +++ b/bb
- @@ -0,0 +1,1 @@
- +bb
- diff --git a/c b/c
- deleted file mode 100644
- --- a/c
- +++ /dev/null
- @@ -1,1 +0,0 @@
- -c