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

Re: [TSVN] Newbie Question: Rename doesn't remove/rename original file

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-07-01 19:56:13 CEST

Steve Seremeth wrote:

> Sorry - I thought since I hadn't subscribed yet (an accident on my part)
> the initial post wouldn't have gone through.

Mails from people which are not subsribed are moderated. That means I
get an automated mail from the listserver asking if I want that mail to
be sent to the subscribers (the list). I had to do this since we got too
much SPAM - that way I just can ignore the SPAM mails so they don't get
through the list, but I can still allow "real" mails to go through.
It's more work for me, but just rejecting mails from non-subscribers
automatically isn't a very good idea either.

> Ok - what you describe makes sense, even if it's a shame I can't just do
> a commit against a file and have it take care of the whole transaction
> (I guess then the add would need some sort of flag -- but doesn't it
> already have that since the revision history is linked to the old file?).

I most cases, yes - it doesn't make much sense. But sometimes you might
want to commit just the add and still keep the removed file in the
repository for a little while longer. If you don't know what that would
be useful for:
- you rename a file
- you start changing the code/files/scripts to reflect the newly renamed
file
- you commit, even though you know you haven't completely changed
everything to take care of the renamed file.
If you now committed the remove too, then all others who update their
working copy might have a broken build because you haven't changed
everything yet.
Once you're sure that everything works with the renamed file you can
then commit the delete.

> Thanks for the description and help. Again - it makes good common sense.
> Maybe subversion's FAQ should have something about doing commit's on
> parent folders after a rename. Sure doesn't sound like a Tortoise
> issue. *shrug*

I'll update the docs...

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 1 21:02:17 2004

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.