, ( , , , ). Lazy Badger : . , , , .
, :
svn log -v a/b/ | grep " D .*a/b/c.xml"
-q, , :
svn log -v -q a/b/ | grep " D .*a/b/c.xml"
, , (.. ). Unix/Linux, awk ( ):
svn log -q -v a/b/ | awk '
/^r[0-9]* \|/ { REVISION=$1; }
/ D/ { print REVISION": "$0; }
' | grep " D .*a/b/c.xml"
- svn log, βv: , . , , Page.cs 10506:
r10506 | msorens | 2011-02-14 12:58:56 -0800 (Mon, 14 Feb 2011) | 1 line
Changed paths:
A /Projects/Test/Common
A /Projects/Test/Common/Setup.cs
A /Projects/Test/Common/Utility.cs
D /Projects/Test/Page.cs
awk , , , ( "D" ). Windows PowerShell ββ , awk, switch:
$( switch -Regex (svn log -q -v a/b) {
'^(r[0-9]*) \|' { $rev = $Matches[1] }
'^ D\s+(.*)' { "{0,-6} {1}" -f $rev, $Matches[1] }
} ) | Select-String "a/b/c.xml"
TortoiseSVN - . , . , ( ) , .