svnlook changed output
From: Keith Moore <Keith.Moore_at_securency.com.au>
Date: Tue, 15 Apr 2008 14:12:45 +1000
Hello, I'm trying to write a pre-commit hook that catches changes or deletions on tags branches. I've seen a very simple example using svnlook and grep to parse it's output. Even though I'm running subversion on windows I believe this solution will work using svnlook and findstr (essentially the same thing).
The first question I have is on the output of the svnlook changed command. Are the numbered statements below a correct description of the output of svnlook?
1. The first character specifies the type of change to the file or dir, add, delete or update.
2. The second character is the type of change to the file or dirs properties.
3. There are two spaces.
4. A variable left file or directory path.
The second question is what happens if the file or directory path has a space in it? Do the spaces get escaped out or is the whole path surrounded with quotes? Or do you just read to the end of the line?
Thanks.
_________________________________________________________________
Keith Moore
#####################################################################################
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.