Jump to content

Cannot delete changeset


JakubH

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...