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

New feature: specify history at commit time

From: Pietro Macchi <pietromacchi_at_hotmail.com>
Date: Fri, 2 Aug 2013 07:24:41 -0700 (PDT)

Hi.
I am using TortoiseSVN with LabVIEW. With LabVIEW, you are quite forced to use the “save as...” function whenever you want to copy or rename a file because otherwise you break inner dependencies and it takes quite a lot to fix them. This is not easily usable with TortoiseSVN, because also this program needs to be the actual copy maker, in order not to break the relationship between the original and the copy.

The only way I have now to copy a file keeping its SVN "history" is this:
1. Branch the file in the repository with TortoiseSVN.
2. Update my working copy.
3. Copy or rename the file with LabVIEW, overwriting the file just created by TortoiseSVN.

Since this is quite intricate, most of the times I simply skip the SVN part and use LabVIEW only, thus breaking the SVN "history" of the file.

Even if probably this is slightly outside of the way SVN was conceived, I would find very useful the possibility of specifying where an unversioned file "comes from" at commit time, using a drop down menu, for instance.

I add a small example: Let's suppose that I have two files in my repo: document.txt and photo.txt.

If I locally copy document.txt, rename photo.txt and then commit, the commit window will be that of image1.png: the new files are committed as "non-versioned" and photo.txt is committed as missing.

In my dream version there would be the possibility of clicking on the property: "non-versioned" and specify if the new file was actually renamed from a missing file or just copied from another one, which could or not already be in the list (See image2.png).

Another version of this menu could be also added on the status "missing", so that it would be possible to change it to "moved to..." and link it to another file.

I hope it's clear.

Thanks!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3061896

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

image_1.png image2.png
Received on 2013-08-02 21:12:35 CEST

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.