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

Incorrect tsvn:autoprops set by files imported via Repo-browser.

From: Ken Johnson <kjohnson_at_opto22.com>
Date: Wed, 1 Dec 2010 13:49:21 -0800 (PST)

If the Repo-browser is launched from a folder in a working copy, it appears to add properties to imported files per the tsvn:autoprops property of the folder from which the browser was launched, rather than the folder into which the file is being imported.

For example, given the following repository structure:

autoprops/ - this folder has the tsvn:autoprops *=svn:needs-lock=* property.
no-autoprops/ - this folder has no properties.

1. Create a working copy of the autoprops folder.
2. From within the working copy of the autoprops folder, launch the Repo-browser from the TortoiseSVN menu.
3. In the Repo-browser, select the no-autoprops folder.
4. Drag and drop a text file from any unversioned folder from windows explorer into the no-autoprops folder via the Repo-browser.
5. The svn:needs-lock=* property is added to the file even though the no-autoprops folder (nor its parents) has no tsvn:autoprops property. Imported files will receive this property no matter what folder they are imported to.

On the other hand, if the Repo-browser is launched from an unversioned folder, or versioned folder without the tsvn:autoprops property, imported files will not receive any properties even if they are imported to a folder that has the tsvn:autoprops configured property.

I expected file import via drag and drop into the Repo-browser to add (or not add) properties according to the tsvn:autoprops property of the target folder (or its parents).

I am using TortoiseSVN 1.6.12, Build 20536 - 32 Bit, 2010/11/24 20:59:01

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-12-01 22:50:21 CET

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