Is there a way to not have Bitbucket ask for my password every time when doing remote Mercurial operations?

Turns out the issue here was that I was using the URL for the repository displayed on my Bitbucket repository’s page, which includes the username in front of the bitbucket domain name, so it ended up looking like https://myusername@bitbucket.org/myusername/myrepo. Apparently, when the username is provided in this way, it ignores what’s in the [auth] section. … Read more

hg shelve equivalent of git stash drop

From the Mercurial shelve documentation (or using hg help shelve): To delete specific shelved changes, use “–delete”. To delete all shelved changes, use “–cleanup”. options: -d –delete delete the named shelved change(s) So if your patch was called my-patch, then you would delete it using: hg shelve -d my-patch

How can I import a mercurial repo (including history) into another mercurial repo as a subdirectory, without using subrepos?

Yeah. Use the convert extension to move projectA down one directory level: hg convert –filemap filemap.txt projectA projectA-redone where your filemap.txt has this line in it: rename . projectA (that dot might be a slash but I don’t think so). That will give you a new repo, projectA-redone, that has all the history of A … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)