开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜