Topic “SVN”

Subversion: Determine the highest revision number in the working copy

This seems to do the trick when run in a terminal from the top level of the working copy:

svn info -R  | grep Revision | sed "s/Revision: //g" | sort -n | tail -1

Updated
Or, you could just use the svnversion command.

Syndicate content
Syndicate content

Twitter

  • RT@nadavoid: Drush can update drupal core. http://drupal.org/node/434944 Props to @weitzman, greg.1.anderson, and many others who helped. 4 years 19 weeks ago
  • Groovy bundle for TextMate: http://groovy.codehaus.org/TextMate 4 years 20 weeks ago
  • New post: Linoleum Block Printing http://tinyurl.com/ybt243y #fb 4 years 20 weeks ago
  • It's going to take all my will not to sleep all day again 4 years 20 weeks ago
  • Racist angry loudmouth racist rural Massachusetts republican is racist. And loudmouthed. 4 years 21 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key