How do you remove a file from a subversion changelist?
I had a file in a subversion changelist tha开发者_Python百科t 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
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.
精彩评论