[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: List of committed files for automatic merging

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Mon, 16 Jun 2008 15:36:02 +0200

On 6/16/08, Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com> wrote:
> I'm in the process of implementing a serialized locking system for some
> of our files.
>
> I have set the svn:needs-lock property on those files and changed the
> pre-commit hook (just for safety measure).
>
> We also have an automatic merging process and I need a simple way to get
> the list of files changed under a specific revision. I know two ways to
> do that:
> 1 - use svnlook changed, however this wants the repository path and I'd
> like to keep that out of the script that does the merge
> 2 - use svn log, however the list of files is between lots of other
> information and it's not that easy to parse it out.

svn log --xml ?

> Is there any other way you can think of? If not I would probably use
> svnlook as parsing the information is almost trivial. I will get over
> the fact that the repository path is in the script :-)

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-16 15:47:04 CEST

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.