Re: Cleanup needed after failed update

2012-06-16 Thread Simon Large
Johan Corveleyn  gmail.com> writes:
> 'svn cleanup' removes any working copy locks, and runs whatever is
> left in the work_queue, thereby returning the working copy to a valid
> state.
> 
> BTW, the work of moving the file into place has some sort of
> "retry-loop", where it keeps retrying for a couple of seconds (to
> account for anti-virus scanners and such, where the file is locked for
> only a short time). But it can't keep waiting forever, so if the file
> is locked for a long time, "update" will have to give up.

One thing which could help in this case, rather than just retrying for N 
seconds 
would be to provide a callback function so that a GUI client like TSVN could 
display a message saying that file X is already open, giving you a chance to 
close it and retry the operation.

Simon



Error parsing config file

2013-08-08 Thread Simon Large
Hi guys,

I've seen this error reported twice on the TSVN mailing list and can
now reproduce it. The symptom is and error message on all subversion
operations:

Error while parsing config file: BlahBlah\config:
line 109: Option expected

It seems that if there is any leading space before the option name,
this error is thrown. I tested with Windows and Unix line endings and
the result was the same. Although it is easy to fix, it seem
unnecessarily restrictive to require no white-space before option
names, when any or no white-space is permitted elsewhere in the line.


Simon