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

[Subclipse-users] feature suggestion

From: Tom Walter <walter.tom_at_gmail.com>
Date: 2007-10-11 02:41:42 CEST

My company uses a ticketing system that involves creating a branch
matching the ticket number, that the QA department then tests before
merging to the trunk.

I often find myself needing to branch a small subsection of a project in
a folder several levels deep in a heirarchy. It's simple enough to copy
that folder into another folder in SVN, however it's often handy to
preserve the entire directory structure leading to that folder as well,
so that QA can easily tell where the code needs to be merged, and also
because you might need to copy several folders from various places in
the heirarchy into your branch.

This isn't so simple to achieve currently, I would have to manually
create my branch directory, and then each folder in the heirarchy within
it, before copying the relevant folder across. It would be neat if there
was an option in subclipse to recreate the heirarchy leading to the
subfolder you are branching.

For example, this command currently fails because the t23974 folder
doesn't yet exist:
copy -rHEAD http://svn/trunk/www http://svn/branches/t23974/www
HTTP Path Not Found
svn: PROPFIND request failed on '/!svn/bc/32907/branches/t23974'
svn: '/!svn/bc/32907/branches/t23974' path not found

It seems it wouldn't be too hard for subclipse to guess your intention
and create the t23974 directory before copying www to it. Of course,
sometimes you might have made a mistake, however that could be handled
with a 'The t23974 directory does not exist, would you like to create it
first?' confirmation.

You might well say I should just copy from the root folder since copies
in SVN are virtually free anyway. And yes, in an ideal world that would
be fine. However the real world isn't so simple, and copying or
switching from the root in our case is a fairly painful experience due
to a proliferation of svn:externals throughout the heirarchy.

Cheers
Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Oct 11 02:41:48 2007

This is an archived mail posted to the Subclipse Users mailing list.