Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4665 dpurdie 1
# Scan the Repo and the Backup Repo and warn about Repos that have changed
2
# Useful after doing a HotBackup to see if any work has been committed
3
#
4
 
5
$Repo = "E:\Repositories"
6
$BRepo = "e:\Backup_Repositories"
7
Get-ChildItem $Repo  | ?{ $_.PSIsContainer } | ForEach-Object { 
8
	$rname = $_.Name
9
	$a = svnlook youngest "$Repo\$rname"
10
	$b = svnlook youngest "$BRepo\$rname"
11
	if ( $a -eq $b ) {
12
		Write-Host $_.Name, " : Same"
13
	} else {
14
		Write-Host $_.Name, " :  ------- Different"
15
	}
16
}