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

Re: commit parent-dir from child-dir

From: Regner Trampedach <art_at_mso.anu.edu.au>
Date: 2006-09-08 06:58:17 CEST

> On Sep 8, 2006, at 06:10, Regner Trampedach wrote:
> > Yes, using
> > svn commit -m "some message" ..
> > works and that is exactly what I want it to do - but I need it
> > done *automatically*. When people do 'svn status/diff/update/commit'
> > they are bound to forget to include the '..'.
> > Is there a way to set-up some configuration in the child-dirs
> > so that svn is invoked from the parent-dir per default, or can/should
> > this be done via hook-scripts? I also need tp make sure that svn
> > manually invoked from the parent-dir doesn't go back up *it's* parent
> > directory.
> > This would save my project from a lot of headaches and mistakes.
> Hook scripts cannot help you here because they operate at the server
> side, not the client side.
> This sounds like a great place for a homemade script. Write this
> script to do the right thing regardless of what directory it's called
> from. Use the script instead of manually running "svn commit". If you
> fear people will forget and run "svn commit" anyway, install shell
> aliases or similar to wrap "svn commit" and either print an error
> message or run your script automatically.
> In any case, Subversion provides no built-in facility to help you
> with this request.
Okay - I'll make an alias. End of thread.

    Thanks for the help


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 8 07:00:32 2006

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.