S:\Hg\test>hg addremove -s 100 -v –time
adding ABC.txt
adding AC.txt
Time: real 0.316 secs (user 0.094+0.000 sys 0.141+0.000)
S:\Hg\test>hg status
A ABC.txt
A AC.txt
S:\Hg\test>hg commit -m “version A”
S:\Hg\test>hg status
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:14 <DIR> .
31/12/2008 17:14 <DIR> ..
31/12/2008 17:14 <DIR> .hg
26/12/2008 11:06 3 ABC.txt
26/12/2008 11:07 2 AC.txt
2 File(s) 5 bytes
3 Dir(s) 68,576,161,792 bytes free
S:\Hg\test>hg addremove -s 100 -v -n –time
removing AC.txt
adding BC.txt
Time: real 0.138 secs (user 0.047+0.000 sys 0.063+0.000)
S:\Hg\test>hg addremove -s 100 -v -n
removing AC.txt
adding BC.txt
S:\Hg\test>hg addremove -s 100 -n
removing AC.txt
adding BC.txt
S:\Hg\test>hg addremove -s 100
removing AC.txt
adding BC.txt
S:\Hg\test>hg status
A BC.txt
R AC.txt
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:15 <DIR> .
31/12/2008 17:15 <DIR> ..
31/12/2008 17:15 <DIR> .hg
26/12/2008 11:06 3 ABC.txt
26/12/2008 11:07 2 BC.txt
2 File(s) 5 bytes
3 Dir(s) 68,576,161,792 bytes free
S:\Hg\test>hg commit -m “version B”
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:16 <DIR> .
31/12/2008 17:16 <DIR> ..
31/12/2008 17:16 <DIR> .hg
26/12/2008 11:06 3 ABC.txt
26/12/2008 11:07 2 BC.txt
2 File(s) 5 bytes
3 Dir(s) 68,576,161,792 bytes free
S:\Hg\test>rm *.*
‘rm’ is not recognized as an internal or external command,
operable program or batch file.
S:\Hg\test>del *c*.*
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:16 <DIR> .
31/12/2008 17:16 <DIR> ..
31/12/2008 17:16 <DIR> .hg
0 File(s) 0 bytes
3 Dir(s) 68,576,161,792 bytes free
S:\Hg\test>hg addremove -s 100 -v -n
adding AC.txt
adding C.txt
S:\Hg\test>hg addremove -s 100 -n
adding AC.txt
adding C.txt
S:\Hg\test>hg status
? AC.txt
? C.txt
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:16 <DIR> .
31/12/2008 17:16 <DIR> ..
31/12/2008 17:16 <DIR> .hg
26/12/2008 11:06 3 ABC.txt
26/12/2008 11:07 2 AC.txt
26/12/2008 11:07 2 BC.txt
26/12/2008 11:07 1 C.txt
4 File(s) 8 bytes
3 Dir(s) 68,576,161,792 bytes free
S:\Hg\test>hg addremove -s 100
adding AC.txt
adding C.txt
S:\Hg\test>hg status
A AC.txt
A C.txt
S:\Hg\test>hg commit -m “version C”
S:\Hg\test>hg status
S:\Hg\test>hg log
changeset: 2:abdb2197ace7
tag: tip
user: Conor Rafferty <cr@altmore.co.uk>
date: Wed Dec 31 17:18:27 2008 +0000
summary: version C
changeset: 1:5923d44d8871
user: Conor Rafferty <cr@altmore.co.uk>
date: Wed Dec 31 17:16:17 2008 +0000
summary: version B
changeset: 0:dab6ac36cf73
user: Conor Rafferty <cr@altmore.co.uk>
date: Wed Dec 31 17:14:08 2008 +0000
summary: version A
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:18 <DIR> .
31/12/2008 17:18 <DIR> ..
31/12/2008 17:18 <DIR> .hg
26/12/2008 11:06 3 ABC.txt
26/12/2008 11:07 2 AC.txt
26/12/2008 11:07 2 BC.txt
26/12/2008 11:07 1 C.txt
4 File(s) 8 bytes
3 Dir(s) 68,576,157,696 bytes free
S:\Hg\test>del *c*.*
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:19 <DIR> .
31/12/2008 17:19 <DIR> ..
31/12/2008 17:18 <DIR> .hg
0 File(s) 0 bytes
3 Dir(s) 68,576,157,696 bytes free
S:\Hg\test>hg addremove -s 100
removing ABC.txt
removing AC.txt
removing BC.txt
removing C.txt
S:\Hg\test>hg status
R ABC.txt
R AC.txt
R BC.txt
R C.txt
S:\Hg\test>hg commit -m “version D”
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:19 <DIR> .
31/12/2008 17:19 <DIR> ..
31/12/2008 17:19 <DIR> .hg
0 File(s) 0 bytes
3 Dir(s) 68,576,153,600 bytes free
S:\Hg\test>hg status
S:\Hg\test>hg update -C -r0
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:20 <DIR> .
31/12/2008 17:20 <DIR> ..
31/12/2008 17:20 <DIR> .hg
31/12/2008 17:20 3 ABC.txt
31/12/2008 17:20 2 AC.txt
2 File(s) 5 bytes
3 Dir(s) 68,576,153,600 bytes free
S:\Hg\test>hg update -C -r1
1 files updated, 0 files merged, 1 files removed, 0 files unresolved
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:20 <DIR> .
31/12/2008 17:20 <DIR> ..
31/12/2008 17:20 <DIR> .hg
31/12/2008 17:20 3 ABC.txt
31/12/2008 17:20 2 BC.txt
2 File(s) 5 bytes
3 Dir(s) 68,576,153,600 bytes free
S:\Hg\test>hg update -C -r2
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:20 <DIR> .
31/12/2008 17:20 <DIR> ..
31/12/2008 17:20 <DIR> .hg
31/12/2008 17:20 3 ABC.txt
31/12/2008 17:20 2 AC.txt
31/12/2008 17:20 2 BC.txt
31/12/2008 17:20 1 C.txt
4 File(s) 8 bytes
3 Dir(s) 68,576,153,600 bytes free
S:\Hg\test>hg update -C -r3
0 files updated, 0 files merged, 4 files removed, 0 files unresolved
S:\Hg\test>dir
Volume in drive S is DATAPART1
Volume Serial Number is EA76-AC34
Directory of S:\Hg\test
31/12/2008 17:20 <DIR> .
31/12/2008 17:20 <DIR> ..
31/12/2008 17:20 <DIR> .hg
0 File(s) 0 bytes
3 Dir(s) 68,576,153,600 bytes free
S:\Hg\test>