如何从 subversion 变更列表中删除文件?
我在颠覆变更列表中有一个文件,后来我恢复了该文件。尽管没有任何修改,但它现在仍然列在更改列表中。我如何摆脱这个变更列表?
$ svn status
--- Changelist 'search jsps - don't delete':
atlassian-jira/secure/views/navigator/navigator.jsp
我已经尝试过
svn changelist --remove --changelist search\ jsps\ -\ don\'t\ delete --depth infinity
了
svn changelist --remove --changelist "search jsps - don't delete" --depth infinity
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
变更列表与常规的“仅提交新的和标记的内容”政策是分开的。从所有更改列表中显式删除该文件应该可行。
要从所有更改列表中删除所有文件,请传递存储库的顶级目录,如下所示:
注意最后一个点,它指定当前目录。
Changelists are separate from the regular "commit only new and marked stuff" policy. Explicitely removing the file from all changelists should work.
To remove all files from all changelists, pass the top directory of the repository, like this:
Note the last dot, which specifies the current directory.