使用Mercurial时,是否所有文件都必须位于“存储库文件夹"中? [英] Do all files have to be in the 'repository folder' when using Mercurial?

查看:53
本文介绍了使用Mercurial时,是否所有文件都必须位于“存储库文件夹"中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次使用Mercurial,所以这可能是一个非常新手的问题...

This is my first time using Mercurial so this may be a very newbie question...

如果我创建存储库,例如c:\ HG1我的所有文件都需要在该目录下吗?

If I create a repository, e.g. c:\HG1 do all my files need to be under that directory?

或者我可以从其他文件夹添加文件吗? 'C:\ myotherfolder'?

Or can i add files from a different folder e.g. 'C:\myotherfolder'?

如果您可以从diff文件夹添加...怎么办,似乎无法弄清楚.

If you can add from diff folder...how, can't seem to figure it out.

谢谢.

p.s. 我来自非分布式源代码控制系统,所以也许我只是在考虑这种思维方式的工作流程.

p.s. I'm coming from a non-distributed source control system so perhaps I'm just thinking about my workflows with that mindset.

推荐答案

是的,所有要跟踪的文件必须在根存储库文件夹下.

Yes, all of the files to be tracked must be under the root repository folder.

这篇关于使用Mercurial时,是否所有文件都必须位于“存储库文件夹"中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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