如何能查看hg 获取的代码的路径?


几个月前我用hg pull了一个源代码, 但是忘记了源代码的路径(同样名字的代码不少),请问如何才能查看该源码的url?

hg 源码 路径 url

Epony 11 years, 10 months ago

hg paths可以帮助你。

> hg paths
default = ssh://hg@example.org/repo
local = /local/path/to/repo

hg paths < name > 可以给出 name的路径

> hg paths default
ssh://hg@example.org/repo
> hg paths local
/local/path/to/repo

要得到路径名称,可以用以下命令

> hg paths -q
default
local
关于茶的理想 answered 11 years, 2 months ago

Your Answer