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

Re: How to clean everythink?

From: Stefan Hett <stefan_at_egosoft.com>
Date: Mon, 6 Jun 2016 11:24:56 +0200

Hi Bernhard,

to recap the situation for you and make sure I get the situation right:
1. You've got a repository on m:\SVNrepos
2. You've checked out that repository initially to E:\Buchproject
3. You moved (using Windows move) the whole directory to a different
drive on K:\Buchproject (including all the subdirectories and also
including the .svn-directory)
4. Afterwards the moved directory showed an exclamation mark.
5. You've then relocated that working directory using TSVN.
6. You commit all files in that moved directory, but the exclamation
mark stayed on the root directory (K:\Buchproject).

What you want is to get a fresh checkout of what is in the repository
without any local modifications now (aka: that's what you mean by your
statement in the initial mail: "I would like to remove everything from
the repo(s) and start fresh").

Assuming that I got the situation and your question right now:

First thing: After step 3 the moved directory should not have shown an
exclamation mark, if the moved folder didn't show one before. Hence I
think that some step you performed in between is missing here or I got
your wrong.

Second, please note that in that case relocating the working directory
in step 5 was unnecessary/wrong. With the relocation operation you can
"point" a working directory from one repository to another repository or
to a different location of a moved repository. Hence, if you would have
moved M:\SVNrepos to N:\SVNrepos_new, the relocate-operation would be
the correct thing to use. In your case however it was either wrong or
redundant.
Hence, let's first double check that your moved working directory still
points to the correct repository path:
- Right click on K:\Buchproject and select Properties -> Subversion
(*not *TortoiseSVN -> Properties)
You should see a window like the following one with the URL pointing to
m:\SVNrepos in your case (aka: something like URL:
file:///m:/SVNrepos/[someRelPathInsideYourRepository])

Verify that the path is correct there. If not, you are pointing to a
wrong path. In this case it's likely you messed up the repository
structure and due to the relocation operation above now have files
inside the repository where you didn't want them to be.
It's hard to resolve that via the mailing list. To resolve the incorrect
files, you could use the repository browser in TSVN and delete the
incorrect paths and then relocate your working directory to the proper path.

If the repository path is correct though, it's likely that some files
(or SVN properties) were not committed yet and hence you see the
exclamation mark on K:\Buchproject. To verify that, please right click
on K:\Buchproject -> SVN Commit... and paste a screenshot you see here
in the thread.

If you want to just start with a fresh checkout of the repository, just
backup K:\Buchproject, create a new empty directory of K:\Buchproject
and do a new checkout of m:\SVNrepos. You'd then get a clean version of
whatever is currently stored in the repository.
Afterwards you could copy over any modified files from the backed-up
directory over the files in the fresh checkout.

> TortoiseSVN 1.9.4, Build 27285 - 64 Bit , 2016/04/24 13:59:58
> Subversion 1.9.4, -release
> apr 1.5.2
> apr-util 1.5.4
> serf 1.3.8
> OpenSSL 1.0.2g 1 Mar 2016
> zlib 1.2.8
> SQLite 3.12.1
>
> the repo is on m:\SVNrepos
> the VierteAuflage was on E:\Buchproject and has been moved to K:\Buchproject
>
> I have added the files/the whole directory to SVN using TSVN-add
>
> relocate was IIRC with TSVN
>
> Sorry to be late but I had network problems.
> Bernhard
>
> ps: Using Texstudio and SVN I am told when a save and the update of SVN has been successful.
>
>> Hi Bernhard,
>>> I have a book which I am working on and have the directory of that book added to the repository. Then I have shifted the entire directory to a SSD, which added a exclamation mark to that directory, and tried to Relocate the directory. The ! stayed. In the meanwhile I have all the files which were touched saved again which changed the ! to a check mark ✓, however the directory has still the !.
>>> How to change that?
>> Which TSVN version are you using?
>> Can you provide more details on the structure of the WC on your drive?
>> - where's the root path of the WC
>> - where was the directory relative to the root path of the WC located
>> which you moved
>> - where is the directory relative to the root path of the WC now after
>> you moved it
>> - did you use TSVN's move operation to relocate the directory or did you
>> just use the Windows operation (copy/paste)
>>
>>
>> --
>> Regards,
>> Stefan Hett, Developer/Administrator
>>
>> EGOSOFT GmbH, Heidestrasse 4, 52146 Würselen, Germany
>> Tel: +49 2405 4239970, www.egosoft.com
>> Geschäftsführer: Bernd Lehahn, Handelsregister Aachen HRB 13473
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3174369
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>

-- 
Regards,
Stefan Hett
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3174405
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-06-06 11:25:11 CEST

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