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

Re: svn commit invokes $EDITOR not where svn run from

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-08-08 16:32:34 CEST

Alexis Huxley <ahuxley@gmx.net> writes:
> Hi, ok, it's clear that svn is cd'ing to the root of the working copy,
> to do some stuff, and then directly invoking $EDITOR from there.
>
> In another SCM product ;-) from a subdirectory I often do the
> equivalent of 'svn diff > diff.out', then 'svn commit', and read
> the diff.out file into the editor, and edit it down to a change list.
>
> Ok, it is possible with svn but by specifying paths relative to
> the WC root, not to the directory in which I invoked svn.
>
> Is it possible for svn to cd back to the original directory immediately
> before invoking EDITOR?

Yeah -- that seems very reasonable. Want to write the patch?
Shouldn't be too complex (therefore the review and apply cycle will
probably also be quick).

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 8 16:48:30 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.