Luke
Luke

Reputation: 3541

Get just the filenames of changed files from svn command

Hopefully a simple flag that I'm missing, I've got that

svn diff -r 321:322

Will return the diff of two revisions, is there an easy way to produce a list of just the names of the files affected, so I have a list of files to roll out, rather than filtering through the diff output for the filenames.

If I could get the filenames with the full path to them that would be ideal, but I may be asking too much.

Thanks.

Upvotes: 1

Views: 370

Answers (1)

digitaljoel
digitaljoel

Reputation: 26574

in *nix you could do

svn diff --summarize -r 321:322 | colrm 1 8

That will give you the full path from your project root directory

Upvotes: 1

Related Questions