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

Re: Modifying a file in the repository without prior checkout

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-06-28 00:53:39 CEST

Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> writes:
> That looks like svnput lacks the ability for me to specify that the
> overwrite should only happen under the condition that the overwritten
> file has the revision number that I specified. I think that if overwrite
> something, it is important that I know exactly which version that was.
> The checking of the overwritten version and the overwriting itself must
> be one atomic operation. If they are not, I would have to implement lots
> of mechanics to examine the log after svnput in order to find out after
> the fact that there had been a collision, and put it right then, which
> does not sound like much fun.

Bingo. (That would be a useful patch for svnput, IMHO.)

You could also try doing this via the repository bindings, assuming
the CGI has direct access to the repository. That might be cleaner,
and it shouldn't be too hard.


Subversion support & consulting  <>  http://producingoss.com/consulting.html
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 28 00:53:52 2007

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.