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

Re: revert seems to do nothing... ?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 6 Jan 2009 09:31:07 +0000

2009/1/5 <postmaster_at_tigris.org>:
> greetings all!
>
> my name's jason, nice to meet you all. i'm just getting my feet wet with subversion, and tortoise has helped soooooo much with amazing documentation and a *great* client. i can really feel the love :)
>
> i have a problem, i'm sharing it in the hopes someone can help, or it helps others :)
>
>
> ***************
>
> i currently have a working copy (d:\websites\myworkingcopy)
>
> the structure of myworkingcopy is: the root of my website and subfolders (wordpress, images, etc.) (no trunk/branches/tags -- this working folder IS the trunk)
>
>
> i also have a repository setup at this URL (svn.myrepository.com/repo)
>
>
> the structure of the repository is trunk/branches/tags (i imported my data to the repository and it either decided to place the data in "trunk" or i specified it like so: svn.myrepository.com/repo/trunk during the import. (can't recall exactly.)
>
> i checked out a working copy (d:\websites\myworkingcopy), added a file (xtrafile.txt) and comitted it. worked great.
>
> i added another file (xtrafile2.txt), and it also worked great. everything green check marked, 2 new revisions in my log, perfect.
>
>
>
> now i want to RollBack or Revert or Undo those 2 revisions so my working copy is back to square 1 with no "Xtrafiles.txt" in it.
>
> it seemed sooo straight forward, choose correct parent folder, browse the log, right-click and "revert changes", or "revert to this revision" or even... "merge"? and that alters the working copy from what i understand and i just *commit* the working copy and it should work, yes?

Correct. Using the log dialog to revert is usually easiest.

> i've tried everything and no matter what i do both the repository AND working folder still contain Xtrafiles.txt and the Revision# is still the same, and everything is Unmodified with No Chages To Commit.

If you roll back the changes on the folder (parent of xtra*.txt), the
files will be marked for deletion. I'm not sure right now, but I think
the files are still retained in your working copy and will become
unversioned when you commit.

The commit dialog should show the two files marked for deletion, and
provided they are checked they will be deleted (from the repository)
on commit.

If this doesn't solve you problem, please give a more detailed
description of how to reproduce it.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
Received on 2009-01-06 10:31:17 CET

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