Repo browser permits deletion of external linked item from parent
From: Geoff Shera <tigris_at_shera.ca>
Date: Tue, 16 Jul 2013 18:14:17 -0700 (PDT)
Amazing utility, here is the issue.
v1.8
note: url paths are shown as "repo:///" for this example, but it should be understood these are correctly formatted paths.
---- Setup. repo:///lib/trunk/item.c is external URL source with several commits from revision 60 through 80. repo:///project/trunk has svn:externals property local path: item.c repo:///lib/trunk/item.c Peg: 60 Operative: 60 Repo HEAD version is 80 Checkout repo:///project/trunk to c:/project_test/ will create working copy c:/project_test/item.c @ revision 60 ---- Shell behavior (correct, expected) svn delete c:/project_test/item.c in shell gives svn: e155030: Cannot remove the external at 'c:/project_test/item.c' ; please edit or delete the svn:externals property on 'c:/project_test/' ---- context menu (correct, expected) right click on c:/project_test/item.c, no SVN delete item available. ---- repo browser (inconsistent) In repo browser, select external repo:///project/trunk item.c is shown as external at revision 60. Select item.c, the repo browser shows it as an external, with revision 60 at URL repo:///lib/trunk/item.c Delete item.c by selecting the repo:///project/trunk item.c and press delete and enter log message. Result: The repo:///project/trunk/item.c does not change as it is pegged to revision 60. BUT repo:///lib/trunk/item.c @ HEAD is now deleted. Expected/Desired: Delete not permitted. A delete would only be permitted if the external was not pegged. If pegged possibly permit delete with warning of resulting action. Note: shell and context menu do not permit delete even on non re-visioned externals. Repo browser permits delete of non revisioned external, same result as revisioned, but icon changes to external folder. ------------------------------------------------------ http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3060620 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].Received on 2013-07-17 03:19:36 CEST |
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.