On 2009-02-16, sebb <seb...@gmail.com> wrote:

> On 16/02/2009, Stefan Bodewig <bode...@apache.org> wrote:

>>  In particular I want to make the updaters check whether an existing
>>  working copy is in fact a working copy for the configured URL - and
>>  blow it away if it isn't.

>>  The idea is to look into working-copy/CVS/Root and Repository,
>>  working-copy/.svn/entries and working-copy/.git/config respectively -

> In the case of SVN, perhaps it would be safer to look at the output of
> "svn info" rather than relying on the format of the SVN file?

The output of "svn info" seems to be localized (it speaks German on my
machine), so I'm not sure it would provide a more stable API than the
file format.  In "svn info"'s case it may still work since the URL is
on a line of its own.

> Similarly for other SCMs.

Probably a good idea, yes.


To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org

Reply via email to