简体   繁体   中英

Pull existing remote repo into empty repo in Hg

mkdir test_remote
cd test_remote
hg init
hg pull existing_remote_repo (bitbucket, ssh, etc)

Is it a bad thing? Any potential dangers when I start pushing the changes from test_remote? Will there be head difference,generate different changeset, whatever it is?

Doing this way, is it the equivalence of hg clone ?

Yes, it's equivalent to hg clone . No, there won't be any problems.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM