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

Re: [PATCH] Have default log message use relative paths

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-21 02:51:39 CET

Justin Erenkrantz wrote:

> --On Friday, March 21, 2003 2:43 AM +0100 "Branko ?ibej"
> <brane@xbc.nu> wrote:
>
>> Heh. For me, the form most likely to be useful is absolute paths. I
>> often commit from a subdirectory, but want to put the full path relative
>> to /trunk into the log.
>
>
> Ideally, I would have preferred that solution (relative to the top of
> the WC), but it doesn't seem that SVN has a canonical way to know what
> that is. (I thought that the commit notifier knew this, but it
> doesn't either.) However, with this patch, if you happen to commit
> from /trunk, you get it just right.

Weeel, it's not so hard to figure out what the top of the WC is; just
chop the end off of cwd() until you run out of .svn directories.

> Absolute paths to the system is just insane and hard to work with. --
> justin

Yup. Paths relative to the WC root would be a favourite.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 21 02:52:20 2003

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.