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

Re: [TSVN] rollback/undo changes - Update Item to revision or Revert changes from this revision - then commit fails?

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-05-06 19:20:20 CEST

Charles Doucette wrote:
> Well - I chose SVN Revert changes from this revision.
> It seemed to work because:
> a) it gave me a progress dialog
> b) the diffs were what I expected (it undid the change in that
> revision) c) it appears that I can commit from this state.

Sounds good to me.

> So, Update to revision will change the base revision but not allow you
> to commit
> (because at least that file is not based on the head revision)?

Correct. You can only commit a file/folder which is updated to HEAD.
That's a subversion feature, not TSVN. It means if someone else made
changes to the repo after you last updated, you _have_ to update and
merge those changes into your WC before you can commit. Otherwise you
would just overwrite the other person's changes completely.

> The documentation
> claims that you should update a whole directory at once - but you
> can't commit that either - right?

Right.

> So, Update is only a temporary fix - right?

Update to revision is just for looking back in history, but you can't
commit anything from there.

> The basic subversion documentation implied that I could also use a
> copy command
> to restore an old version. Is that applicable only after I've deleted
> something?
> How could I use TortoiseSVN to copy an old revision on top of the
> current one rather than
> update or merge?

From the log dialog you could use 'Save as ...' from the context menu,
and just overwrite your current WC file with an old version from the
repo.

Simon

-- 
       ___
  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 Fri May 6 19:25:12 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.