[svk-users] is there a fast way to test for a checkout directory?

basic basic at mozdev.org
Tue Sep 2 11:58:11 EDT 2008


Alexander Dahl wrote:
> Hi,
> 
>>   However I was not able to find a "fast" way to test if a directory is a svk checkout
>> directory. Right now I'm using "svk info" on each directory and checking the return value
> 
> What about showing a list of all checkout directories:
> 
> svk co --list
> 
> You could check this list against your current directory.
Thought about that, but it means I have to check subdirectories against the list (by
truncating it, while making sure the last character is a directory separator?), and it
doesn't tell me when I'm in an unversioned directory under the checkout directory.

--
basic


More information about the svk-users mailing list