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

RE: svn lock command with multiple files/paths

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Tue, 12 Feb 2008 15:10:54 -0600

> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2008a_at_ryandesign.com]
> Sent: Tuesday, February 12, 2008 2:51 PM
> To: Reedick, Andrew
> Cc: Michael Weaver; users_at_subversion.tigris.org
> Subject: Re: svn lock command with multiple files/paths
>
> On Feb 12, 2008, at 11:15, Reedick, Andrew wrote:
>
> >
> >
> > Print the transaction id in each email (to see if svn really is
> > breaking locks up into three individual transactions.)
> > Try running "svn lock -targets file.txt" to see if that will force
> > it into one transaction.
> > Post your hook code to see if you're making a dumb mistake
somewhere.
>
> But locks do not occur in transactions... No transaction (or
> revision) is created when you lock or unlock...
>

Doh! Good point. An even better point can be found in the
post-lock.tmpl script (svn 1.4.5):

# The paths that were just locked are passed to the hook via STDIN (as
# of Subversion 1.2, only one path is passed per invocation, but the
# plan is to pass all locked paths at once, so the hook program
# should be written accordingly).

So only one path is being passed in via STDIN at a time?

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA621

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-12 22:11:26 CET

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.