如何使用Subversion一次提交多个目录? [英] How can I commit multiple directories at once using subversion?

查看:100
本文介绍了如何使用Subversion一次提交多个目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用svn ci dir / a dir / b -m我的评论
,但这无效。我还使用了svn ci dir / a / * dir / b / * -m我的评论
,它也行不通。

I tried using svn ci dir/a dir/b -m "my comment" but this doesn't work. I also used svn ci dir/a/* dir/b/* -m "my comment" and it too doesn't work.

我知道您可以指定多个文件,但是如何告诉Subversion检入这些文件夹中的所有已修改文件?我主要是想这样做,以便所有更改都集中在一个修订版上。我可以一次签入一个目录,但是最终给每个目录提供了不同的修订。.

I know you can specify multiple files, but how can I tell subversion to check in all modified files in these folders? I mainly want to do this so that all my changes get in on one revision. I can checkin one directory at a time, but this ends up giving me different revisions for each directory..

推荐答案

我认为您仅具有1个选项:检入包含目录-将两者都作为子目录的目录。

I think you only have 1 option: check in the containing directory - the one that has both these as subdirs.

如果它们的组织方式不是这样(即它们都是仓库中的顶级目录),那么您就无能为力了-svn命令仅在单个目录上工作。

If they're not organised like that already (ie they're both top-level directories in the repo), then there's not a lot you can do - the svn commands work on a single directory only.

这篇关于如何使用Subversion一次提交多个目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆