Skylar Thompson <skylar.thompson_at_gmail.com> writes:
> [skylar_at_hopper ~]$ svnadmin[Kmkdir svnrepo
> [skylar_at_hopper ~]$ svnadmin create svnrepo
> [skylar_at_hopper ~]$ mkdir svn
> [skylar_at_hopper ~]$ cd svn
> [skylar_at_hopper ~/svn]$ svn co file:///cluster/home/skylar/svnrepo/
> Authentication realm: c328e328-e9ab-e111-bfb4-001e687902b7
> Username: skylar
> Checked out revision 0.
> [skylar_at_hopper ~/svn]$ ls
> svnrepo
> [skylar_at_hopper ~/svn]$ cd svnrepo/
> [skylar_at_hopper ~/svn/svnrepo]$ ls -l ~/tmp/icc
> -rwxr-xr-x 1 skylar users 3873673 Jun 1 05:55 /cluster/home/skylar/tmp/icc
That's the original file.
> [skylar_at_hopper ~/svn/svnrepo]$ cp ~/tmp/icc .
That's the copied file. You don't appear to have verified that the copy
is the same as the original. Are they different? Run something like
"sha1sum icc" to get checksums.
> [skylar_at_hopper ~/svn/svnrepo]$ svn add iuc[Kicc
> A (bin) icc
> [skylar_at_hopper ~/svn/svnrepo]$ svn - commit -m "test"
> Adding (bin) icc
> Transmitting file data .
> Committed revision 1.
> [skylar_at_hopper ~/svn/svnrepo]$ rm -f icc
> [skylar_at_hopper ~/svn/svnrepo]$ svn update
> Updating '.':
> Restored 'icc'
> At revision 1.
> [skylar_at_hopper ~/svn/svnrepo]$ ls -l
> total 3808
> -rwxr-xr-x 1 skylar users 3873654 Jun 1 05:57 icc
That's the restored file. It should be the same as the copied file but
you don't appear to have checked that. It will only be the same as the
original file if the copy was the same as the original file.
--
Philip
Received on 2012-06-01 15:44:12 CEST