CppLearner
CppLearner

Reputation: 17040

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?

Upvotes: 1

Views: 62

Answers (1)

Cat Plus Plus
Cat Plus Plus

Reputation: 129964

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

Upvotes: 3

Related Questions