bitbucket - How can clone the mercurial repo with all history -


i have server mercurial. have home computer pushing repo bitbucket account.

my work server has revisions 900 on them. want clone repo 900 revisions , push them bitbucket can see 900 revisions in bitbucket account.

is possible

in short, yes. mercurial distributed version control system, means (amongst other things) every clone contains default full repository history. bitbucket 101 excellent place start basics, hginit.

for clone home , push method, like:

hg clone ssh://user@workserver/pathtorepo repo cd repo hg push ssh://hg@bitbucket.org/username/repo 

to push bitbucket, you'll need have public key authentication set (see bitbucket 101), work server portion, public key authentication nice, may not necessary if server's policy allows interactive authentication.

if don't need local copy, bitbucket offer option directly import (i.e. clone) third party repository. faster since upstream speed on residential internet connections rather slow.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -