-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8/5/10 00:16 , Willi Langenberger wrote:
According to Jens Vagelpohl:
before=$(svn info $ROOT | grep "^Last Changed Rev:" | cut -d " " -f 4) svn up -q $ROOT after=$(svn info $ROOT | grep "^Last Changed Rev:" | cut -d " " -f 4)
I think
svn info $ROOT
doesnt give you the newest revision somewhere down the directory tree. You have to use something like
svn info -R $ROOT | grep "^Last Changed Rev:"| cut -d ""-f 4 | \ sort -k1n,1 | tail -1
(note the "-R" flag for the "svn info" command).
Thanks Willi, I'll give that a try when I have a moment. I wouldn't be surprised if that was the case. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkxaW6gACgkQRAx5nvEhZLLmxACeLNo3ssUdKOHFRlQpYmnpuI2I B1IAn3Q0aAEqrIB++OtiJCrXf6Ew8meA =anjj -----END PGP SIGNATURE-----