windows - SVN: How to know in which revision a file was deleted? -
given i'm using svn command line on windows, how find revision number, in file deleted? on windows, there no fancy stuff grep , attempting use command line only, without tortoisesvn. in advance!
edit:
- i saw few posts, examining history of deleted file did not answer question.
- is there way other svn log -v url > log.out , search notepad?
install cygwin.
i use this:
svn log -v --limit <nr> -v | grep -e '<filename>|^r' | grep -b 1 <filename>
where
filename - name of file or pattern matches nr - number of latest revisions in want
this give revisions actions (add, delete, remove, modify) concerning file, simple tweak grep
can revisions deletion.
(obviously, --limit optional, have overview how deep need search gains performance.)
Comments
Post a Comment