Question

I had a file in a subversion changelist that I later reverted. It is now still listed in the changelist even though it has no modification. How do I get rid of this changelist?

$ svn status

--- Changelist 'search jsps - don't delete':
        atlassian-jira/secure/views/navigator/navigator.jsp

I've tried

svn changelist --remove --changelist search\ jsps\ -\ don\'t\ delete --depth infinity

and

svn changelist --remove --changelist "search jsps - don't delete" --depth infinity
Was it helpful?

Solution

Changelists are separate from the regular "commit only new and marked stuff" policy. Explicitely removing the file from all changelists should work.

svn changelist --remove atlassian-jira/secure/views/navigator/navigator.jsp

To remove all files from all changelists, pass the top directory of the repository, like this:

svn changelist --remove --depth infinity .

Note the last dot, which specifies the current directory.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top