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

RE: encouraging users to switch

From: John Kristian <John.Kristian_at_Siebel.com>
Date: 2005-02-11 20:06:03 CET

Dale Worley wrote:
> it will only delete files that are not locally changed.

That's fairly harmful. For a typical user in my community, update will
delete about 8,000 files. Getting new copies takes about half an hour,
and rebuilding (via `ant` etc.) takes about 4 hours. Roughly half a day
of work, down the drain. Users will be annoyed, and rightly so.

> if you then do a switch, you will see your current changes
> within the relocated source, just like you'd expect.

Yes, for files that I simply changed. But not files that I added or
deleted. `svn update` discards the list of uncommitted additions and
deletions. After `svn switch`, I must `svn add` all the new files
again, and `svn delete` all the deleted files again. Deletions are
especially difficult, because there's no list of them in my working copy
(that I can find). Imagine I was refactoring viciously, with hundreds
of uncommitted additions and deletions in my workspace. Must I go back
and reconstruct the list of files that I moved? Groan.

> "svn update" is doing what it's supposed to be doing ...

It's doing something reasonable, but not what I want in this case.
My mistake for using `svn move`; `svn copy` was the better choice.

- John Kristian

-----Original Message-----
From: Dale Worley [mailto:dworley@pingtel.com]
Sent: Friday, February 11, 2005 10:24 AM
To: users@subversion.tigris.org
Subject: RE: encouraging users to switch

-----Original Message-----
From: John Kristian [mailto:John.Kristian@Siebel.com]

True. But if my current working directory is elsewhere, unpleasant
things happen. For example, if I change my current working directory to
the parent and execute `svn update foobranch`, it will delete files and
possibly my entire working copy of foobranch. TortoiseSVN has the same
effect. At least, that's what happened when I tried it.
---------------------------------------------------------------------

But it will only delete files that are not locally changed. Indeed,
"svn update" is doing what it's supposed to be doing, making your WC
resemble the specified location in the repository as much as possible.
But if you then do a switch, you will see your current changes within
the relocated source, just like you'd expect.

Dale

------------------------------------------------------------------------------
Siebel CRM OnDemand. Proven Results for Any Size Company. www.crmondemand.com

This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation.
====================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 11 20:08:57 2005

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

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