开发者

How to list all repositories?

How can I list all available 开发者_StackOverflow社区repositories in Mercurial in shell?

Thanks.


Mercurial repositories are just directories, so you list them with ls or the favourite directory listing tool of your choice. Or do you mean find all Mercurial repositories within a directory tree? If so find is your friend - look for directories containing .hg subdirectories:

 find . -name '.hg' -a -type d -prune
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜