JakubH Posted September 4, 2013 Report Share Posted September 4, 2013 I have a problem with deleting a changeset currently. Actually, it happens here several times already. I get this alert: Unable to delete the changeset Check if a branch, a label or another changeset is linked to this changeset However, there are no links from this changeset. It is the last changeset on a branch and there are no successors. Any idea what can cause this? How can I solve it? Link to comment Share on other sites More sharing options...
calbzam Posted September 4, 2013 Report Share Posted September 4, 2013 Hi, I think, the issue is the following, a branch that is hidden (Item that is replicated transparently) is depending on that changeset. If the changeset you want to delete is the last one, there's not reason to deny the remove operation, the problem is that the depending changeset/branch is hidden. You can make it visible and remove them all: In order to make them visible you need to: 1) Enter to the SQL manager. 2) Get the changeset that is depending on the one you try to remove. Maybe it's the parent of another one: select * from changeset where iparentid=X (X is the id you see in the branch explorer). Retrieve the fidbranch, you can have several of them. 3) For each group of branches hidden make them visible: update changeset set scomplete='T' where fidbranch=Y; (Y is the fidbranch field you have from the step 2). Now if you refresh the branch explorer you will be able to see the hidden ones. Regards, Carlos Link to comment Share on other sites More sharing options...
JakubH Posted September 4, 2013 Author Report Share Posted September 4, 2013 Thanks for your answer. Actually, I've figured it out already. I've looked into the database myself and the changeset was used as a parent of a shelf changeset. It surprised me, I thought that a shelf has no parent. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.