enhancement: add setting to prevent accidental commits to svn:externals in same repo

13 views
Skip to first unread message

Jason Sachs

unread,
Nov 14, 2018, 4:20:47 PM11/14/18
to TortoiseSVN
I am on a development team with some members who have accidentally committed changes to svn:externals. Most of our svn:externals are in the same repo (different projects in a large repo).

I would like to request a feature to visually distinguish those svn:externals, and to disable commits to them in the TSVN commit dialog box. We rarely (if ever!) want to commit svn:externals changes. In other words, if project A has an svn:externals to project B, then correct way to do this in our team is to check out project B separately, make the changes there, and then update the svn:externals in project A to point to the new version of B. (I understand the convenience factor for some developers, but we would rather be explicit about committing separately to separate projects.)

There is a clear visual distinction for files in other repositories:

tsvn-commit-externals.png

but not for the same repo. I don't like the existing "Show externals from different repositories" checkbox behavior; I want to see if there are changes in svn:externals, but I do not want to modify them as part of the commit.

Jason Sachs

unread,
Nov 14, 2018, 4:34:58 PM11/14/18
to TortoiseSVN
I spoke too soon! I just upgraded to TSVN 1.11 and noticed the checkboxes were still visible but did not try to check them. I am blocked from doing so, thanks to the BlockPeggedExternals setting.

Thanks for adding this feature!
Reply all
Reply to author
Forward
0 new messages