From: Anthony Metcalf Date: 2009-10-04T21:18:32+09:00 Subject: Re: Get current working copy version in subversion/git --------------enig47F8750B46A9FF52E3D91282 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ryan Davis wrote: > > On Sep 30, 2009, at 08:32 , Anthony Metcalf wrote: > >> I keep my ruby and rails projects in subversion (or git, or in one >> case both...) and it would be nice to be able to show in my output, th= e >> current working copy revision number. > > for subversion it is: `svnversion .`.chomp > > Cool! I take it the '`' mean "run this command and return the results as a string? Anthony --------------enig47F8750B46A9FF52E3D91282 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrIktAACgkQtUxufNRmXkEC5QCgp4HsSgBqUSzLD+WOpGQnrA4M P5EAn0Lsuu7o5z4HwX1HPMcXsBQuudmN =ssRj -----END PGP SIGNATURE----- --------------enig47F8750B46A9FF52E3D91282--