开发者

svn export changes and save locally

What's the best way to e开发者_如何学Cxport changes between 2 SVN revisions and save the changes (files/folders) locally?

Possibly through the command-line?

Thanks


How about this

svn checkout -r {2006-02-17}

http://svnbook.red-bean.com/en/1.4/svn.tour.revs.specifiers.html

esssentially you would "checkout" two folders based on dates.

EDIT: A simple folder compare at that point would give you what files changed, and what changed in the files.

EDIT2: Perhaps something along the lines of :

svn diff -r BASE:HEAD foo.c

or

svn diff -r HEAD

Not sure if you can do something like

svn diff -r BASE:HEAD

where you can update base to a number and head to a number. My suspicion is that since this works:

svn diff -r BASE:14 foo.c

you should be able to replace base and head with numbers and just compare all the files.

I'm really not sure though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜