svk short tour2009年02月10日 13時50分26秒


% env SVKROOT=/tmp/.svk svk depotmap --init
Repository /tmp/.svk/local does not exist, create? (y/n)y
% env SVKROOT=/tmp/.svk svk import -m 'Impoorting /tmp/work into //local/head/wo
rk.' //local/head/work /tmp/work
Committed revision 1.
Import path //local/head/work initialized.
Committed revision 2.
Directory /tmp/work imported to depotpath //local/head/work as revision 2.
% env SVKROOT=/tmp/.svk svk co //local/head/work /tmp/svkwork
Syncing //local/head/work(/local/head/work) in /tmp/svkwork to 2.
A   /tmp/svkwork/1.txt
A   /tmp/svkwork/a.txt
% cd /tmp/svkwork/
% env SVKROOT=/tmp/.svk svk stat
% env SVKROOT=/tmp/.svk svk log
----------------------------------------------------------------------
r2:  uyota | 2009-02-09 12:57:38 -0500

Impoorting /tmp/work into //local/head/work.
----------------------------------------------------------------------
r1:  uyota | 2009-02-09 12:57:38 -0500

Directory for svk import.
----------------------------------------------------------------------
% echo "10 11 12" >> 1.txt 
% svk diff
Repository /export/home/uyota/.svk/local does not exist, create? (y/n)Interrupte
d.
% setenv SVKROOT /tmp/.svk
% svk diff 1.txt 
=== 1.txt
==================================================================
--- 1.txt       (revision 2)
+++ 1.txt       (local)
@@ -1 +1,2 @@
 1 2 3
+10 11 12
% svk ci -m 'Added 2 digits numbers.'
Committed revision 3.
%env SVKROOT=/tmp/.svk svk mv a.txt A.txt
A   A.txt
D   a.txt
% svk ci -m 'Uppercase.'
Committed revision 4.
% ls -a
.       ..      1.txt   A.txt
% svk log
----------------------------------------------------------------------
r4:  uyota | 2009-02-09 13:10:02 -0500

Uppercase.
----------------------------------------------------------------------
r3:  uyota | 2009-02-09 13:02:20 -0500

Added 2 digits numbers.
----------------------------------------------------------------------
r2:  uyota | 2009-02-09 12:57:38 -0500

Impoorting /tmp/work into //local/head/work.
----------------------------------------------------------------------
r1:  uyota | 2009-02-09 12:57:38 -0500

Directory for svk import.
----------------------------------------------------------------------

旅程cvsMercurial/hggitSubversion/svnrcssvk