Terix
Terix

Reputation: 1387

mercurial + bitbucket + windows 7, how to setup?

thanks to the help of Stackoverflow I was able to setup an account and repository on bitbucket and manually push my local repo to the cloud using password. I was unable to find a proper tutorial on how to setup SSH between mercurial and bitbucket using Windows 7 and also I was unable to find a proper tutorial on how to automatize the push command to avoid writing the full path all the time of each of the repositories. Anyone can help on achieveing those two issues?

Upvotes: 0

Views: 303

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97282

to find a proper tutorial on how to setup SSH between mercurial and bitbucket

Keywords: plink, pageant

proper tutorial on how to automatize the push command to avoid writing the full path all the time of each of the repositories

"Full path" to local or remote repo?

In case

  • Local, and using -R "path/to/local/repo" - just cd to repo always before using HG
  • Remote - add all needed repositories into .hgrc of repository (.hg\hgrc from the root of repo-dir) [paths]

[paths]

default = git+ssh://[email protected]/lazybadger/Fiver-l10n.git

sf = ssh://[email protected]/u/bigbadger/code

With these names I can pull/push from/to default || sf as URLs: hg push sf, "default" as default target can be omitted totally

Upvotes: 1

Related Questions