gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: SCM code changes status
Date Tue, 17 Feb 2009 04:47:19 GMT
On 2009-02-16, sebb <sebbaz@gmail.com> wrote:

> On 16/02/2009, Stefan Bodewig <bodewig@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.

Stefan

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


Mime
View raw message