Re: determining which revision a file was added
From: Christopher Ness <chris_at_nesser.org>
Date: 2004-11-01 14:46:35 CET
On Mon, 2004-11-01 at 01:53, Christopher Baus wrote:
The date a file was added will be the first revision of the file. The
svn log <filename> | grep ^r[0-9] | tail -n 1
Notice the regular expression to get only lines that start with "r#" of
Not sure if SVN has a property you could try to get (svn propget) or not
Here is the output of the command above for one of my repos.
[nesscg@woman latex-src]$ svn log srs.tex | grep ^r[0-9] | tail -n 1
Cheers,
-- Software Engineering IV, McMaster University PGP Public Key: http://www.nesser.org/pgp-key/ 08:27:18 up 17:07, 2 users, load average: 0.16, 0.06, 0.26 http://www.fsf.org/philosophy/no-word-attachments.html
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.