开发者

How to list all repositories?

开发者 https://www.devze.com 2023-03-11 12:32 出处:网络
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 listin

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

精彩评论

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