GIT and TortoiseSVN

32 views
Skip to first unread message

Matteo Zatti

unread,
Jul 12, 2023, 11:00:44 AM7/12/23
to TortoiseSVN
Hello. I'm using TortoiseSVN with some projects.
I have to work with another project which uses GIT instead, and cannot be ported to SVN.

I've installed GIT on the local machine and cloned the repository locally.
When I open this new project, this popup came out
"Subversion detected a working copy that needs an explicit upgrade in (local folder).
While this working copy is not upgraded all files in this working copy will appear as new"

How can I tell SVN to "ignore" this project completely?
I've tried by folder, but I haven't the voice "ignore" in the context menu.

Thanks.
Matteo

Daniel Sahlberg

unread,
Jul 12, 2023, 11:07:19 AM7/12/23
to TortoiseSVN
I assume by “project” you mean a folder and you are talking about Windows Explorer?

Do you have  a folder called .svn in that folder or in any parent folder? This is the way Subversion identifies a working copy. There is no way (and no need) to instruct TortoiseSVN to ignore a particular folder. If .svn is not there, then TortoiseSVN will not do anything.

Kind regards 
Daniel

Matteo Zatti

unread,
Jul 12, 2023, 11:14:08 AM7/12/23
to TortoiseSVN
Yes, there is a .svn folder inside the main folder, but it was created because it is also existing in the original main folder of the project mantained by GIT (In the past was mantained by SVN).
Whta to do now?

Thanks.
Matteo

Niemann, Hartmut

unread,
Jul 12, 2023, 11:21:28 AM7/12/23
to TortoiseSVN

My first guess is that the person who switched from SVN to GIT simply added all files and directories of a working copy to the GIT repo, and that these files should have never been added in the first place.

 

You could check whether you can remove them from the project, or you could try to rename from .svn to _svn – which on Windows would help by making the directory visible even to users who disabled visibility of hidden directories.

 

“Settings->Context menu” has a “Do not show the context menu for following paths”. Try to enter the path there and see whether that does the trick.

 

Best Regards

Hartmut

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/a46de197-ddee-4130-9c44-e27259164badn%40googlegroups.com.

Daniel Sahlberg

unread,
Jul 12, 2023, 11:22:49 AM7/12/23
to TortoiseSVN
ons 12 juli 2023 kl. 17:14 skrev Matteo Zatti tramite TortoiseSVN <torto...@googlegroups.com>:
Yes, there is a .svn folder inside the main folder, but it was created because it is also existing in the original main folder of the project mantained by GIT (In the past was mantained by SVN).
Whta to do now?

Thanks.
Matteo


If you don’t want use Subversion you can probably delete this directory. It should most certainly not be committed to the Git repository. Of course, make sure you didn’t store anything else there except what Subversion use it for before deleting it.

Kind regards 
Daniel 





Il giorno mercoledì 12 luglio 2023 alle 17:07:19 UTC+2 daniel.l...@gmail.com ha scritto:
onsdag 12 juli 2023 kl. 17:00:44 UTC+2 skrev teo...@gmail.com:
Hello. I'm using TortoiseSVN with some projects.
I have to work with another project which uses GIT instead, and cannot be ported to SVN.

I've installed GIT on the local machine and cloned the repository locally.
When I open this new project, this popup came out
"Subversion detected a working copy that needs an explicit upgrade in (local folder).
While this working copy is not upgraded all files in this working copy will appear as new"

How can I tell SVN to "ignore" this project completely?
I've tried by folder, but I haven't the voice "ignore" in the context menu.

Thanks.
Matteo

I assume by “project” you mean a folder and you are talking about Windows Explorer?

Do you have  a folder called .svn in that folder or in any parent folder? This is the way Subversion identifies a working copy. There is no way (and no need) to instruct TortoiseSVN to ignore a particular folder. If .svn is not there, then TortoiseSVN will not do anything.

Kind regards 
Daniel

--

Matteo Zatti

unread,
Jul 12, 2023, 11:59:56 AM7/12/23
to TortoiseSVN
Thanks to both.
I renamed all the .svn folder in the main and subfolders and now the solution load without any popup.

Thank you again.
Matteo
Reply all
Reply to author
Forward
0 new messages