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

Re: [TSVN] Manually specifying dirs/files to commit in large trees

From: Robin Pellatt <pellatt_at_mirocs.com>
Date: 2005-08-24 12:29:07 CEST

+1 for this. I've thought about it more in terms of being able to handle
several different changesets at the same time, but it amounts to more or less
the same thing.

The way Perforce works is that once a file is marked as modified, then you can
add it to a changelist. You can have several changelists open at any one time,
and there is always a default changelist for anything you haven't specifically
sorted yet. You can write a comment for the changelist to describe what it is
for, this is visible in the GUI when listing active changelists, and also
becomes the commit comment once you commit the changelist.

The reason I found this extremely useful is because I often work on several
things at the same time, say a long running change over a few days, and a quick
bug fix. Both may have modified files all over the directory tree, so it's very
handy to be able to separate out the modified files into separate changesets,
and then commit them separately. It's also useful to be able to do this sorting
as you go along, i.e. as a file is modified it gets added to a changeset. The
way you'd have to do this at the moment would be to simply select the relevant
files from the commit dialog, which is obviously more error prone.

I'm thinking the way it could work would maybe be that you simply build some
sort of tree hierarchy in the 'Check for modifications' dialog. Instead of

file 1
file 2

you'd have

default changeset
        <empty>
changeset 1
        file 1
changeset 2
        file 2

with drag and drop to move files around, and a right click for 'create new
changeset'. Then you could do 'commit all' or 'commit changeset'. Of course
this changeset mapping is purely Tortoise, nothing to do with SVN, so you'd have
to store it somewhere within Tortoise, is that a problem?

I realise this is quite a big feature and needs some thinking about, but hey we
wouldn't want the developers to get bored right ;-)

OK, roll on the voting...

Cheers,

Robin.

> Sometimes I exactly know which files I modified and only want to
> specifiy the few to commit. Like I can add files manually to the list,
> which idially also provides filename completion and then commit.

-- 
mirocs OHG
Development, Services and Trade
 
Internet  http://www.mirocs.com   
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Aug 24 12:29:36 2005

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

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