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

Re: [TSVN] Update To Revision thoughts...

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-26 17:43:57 CEST

Roland Erbs wrote:

> I am not sure how Update To Revision is intended to work, only how I would
> like it to work :-) I would like it to do what the manual says: "update your
> working copy to a specific revision"
>
> Here is how it works:
> (1) If my WC is up to date:
> - After Update To Revision (#): files and directory structure reflect rev #
> (2) If I have a file in my WC which has not been added+committed to
> repository:
> - After Update To Revision (#): files and directory structure reflects rev #
> except that the not-added file is still there
> (3) If I have a file with changes that has not been committed:
> - After Update To Revision (#): files and directory structure reflects rev #
> except that the not-committed file is merged with rev # of the file.
>
> (1) is beautiful and I understand that (2) and (3) happens since TSVN cannot
> allow information to get lost. However, especially (3) makes your WC a mess,
> imho.

Correct. Subversion _never_ looses data. So it won't delete your
unversioned or modified files. It rather creates a conflict and provide
you with all the available files (yours, theirs, the base).

> Unless (2) and (3) are intended, I suggest that you can only Update To
> Revision if your WC (exactly) reflects a revision in the repository. If you
> try to Update To Revision when WC does not reflect a revision in the
> repository, you should be told to update/commit/revert before Update To
> Revision can take place.

You mean checking for local modifications before such an update and if
some are found show a warning? Good idea!
Can you suggest what that warning should tell? I'm not good at writing
clear messages...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Oct 26 18:49:56 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.