John Goering
John Goering

Reputation: 39059

How do I get a list of files that have been added to the SVN since a certain date?

I only want a list of files that have been added (not ones that have been modified) since a certain date. Is there an easy way to do this?

Answer: Here's what ended up working for me, thanks guys!

svn log -v -r{2008-10-1}:HEAD svn://path.to.repo/ | grep "^   A" | grep ".java" | sort -u

Upvotes: 2

Views: 798

Answers (4)

Harikrushna
Harikrushna

Reputation: 91

you can try following command,

svn log -r '{2013-09-09}:HEAD'

Here you get all the revision details from date 9/9/2013

Upvotes: 0

Bert Huijben
Bert Huijben

Reputation: 19632

If you use 'svn log -v -q' you get the filename and no log messages. This is a little bit faster over http:// and svn:// as the log messages are not transferred to you.

svn log --xml -v -q gives you the same information but in easy to parse xml. (This handles all corner cases on strange file names for you).

Upvotes: 2

Karl Amort
Karl Amort

Reputation: 16394

svn log -v -r{2008-10-1}:HEAD | grep "^   A"

Upvotes: 5

mmaibaum
mmaibaum

Reputation: 2509

Something like

svn log -v -r {"2008-01-01"}:HEAD . | grep ' A ' | sort -u

should get you going...

Upvotes: 1

Related Questions