bitbucket

BitBucket or freeHg?

I am looking for a public Mercurial repository and would like any opinions from users of either BitBucket, freeHg, or any other alternative. I've tried the free version of BitBucket and it has a great interface, but I've experienced some inopportune downtime with their website that has me concerned. What other factors should I consider...

How can I integrate a bitbucket repository with the hosted on-demand version of FogBugz?

I use the on-demand (hosted) version of FogBugz. I would like to start using Mercurial for source control. I would like to integrate FogBugz and a BitBucket repository. I gave it a bit of a try but things weren't going very well. FogBugz requires that you hook up your Mercurial client to a fogbugz.py python script. TortoiseHg doesn...

How to retrieve available branches from a Bitbucket repository?

It is possible to retrieve the local branches from a local repository with hg branches. Is it possible to do this also with a remote repository programatically? ...

bitbucket, "hg push" and "hg update"

If I start out with a local mercurial repo, which I consider to be the "main" repo (pardon me my dvcs lords), and intend to use bitbucket as a backup and issue tracking facility, I can do all my changes in my local repo and do an "hg push" to send the changes back to bitbucket. Don't I need to follow this "hg push" command run on my loc...

Python urllib.urlopen() call doesn't work with a URL that a browser accepts

If I point Firefox at http://bitbucket.org/tortoisehg/stable/wiki/Home/ReleaseNotes, I get a page of HTML. But if I try this in Python: import urllib site = 'http://bitbucket.org/tortoisehg/stable/wiki/Home/ReleaseNotes' req = urllib.urlopen(site) text = req.read() I get the following: 500 Internal Server Error The server encounter...

bitbucket mercurial cannot see source codes in source column

I commit all my files into bitbucket. i try check in,revert file i deleted using netbeans and everything ok. when i logined into bitbucket and select my repository (private). I unable to see my source codes inside "source" column ...

FILE* that goes nowhere

Is there a way to get a C stream object (a FILE* object) that points at nothing? I know fopen("/dev/null","w"); would work but I'm wondering if there is a better way. Preferably that bit buckets the data at a higher level than the posix layer and that is also more portable. ...

Issues with using free Mercurial hosting like Bitbucket

I'm using Mercurial as my SCM, mainly because I like the ability to commit changes to a project even while offline. I'm going to be moving PCs soon and so I decided to look into finding some free Mercurial repo hosting so I don't lose my data. I signed up for a Bitbucket account and I noticed that they offer space for only a single priva...

Mercurial (and, I guess GIT) with Dropbox: any drawbacks?

I have a Mercurial repository for a personal project, and I have been storing the master repository in my Dropbox for a few weeks now (something along this line; and I understand it's also possible with git). The idea is that it serves both as a way to work with multiple machines and as a remote backup. I clone the repository and work ...

How to mark an issue as resolved from the commit log?

I noted that in BiBucket.org when your commit log contains a number like #12 this number is linked to the bug number 12. I found this feature interesting, and I wonder if there is any keyword that would allow me to mark the issue as resolved from the commit log instead of going to the web interface each time. If bitbucket.org doesn't d...

Connect to BitBucket via proxy

Hoi, I try to hg pull from my private repo on Bitbucket.org into my local repo on my Windows machine from behind the company proxy that requires Windows authentication. I found the proxy server and port (Internet options of IE) I found the settings Mercurial.ini file in my %USERPROFILE% I added this section to it (info): [http_prox...

Script to migrate wiki from trac to bitbucket wiki

I have a wiki on trac which I'd like to migrate to bitbucket wiki, the amount of content is large enough for me to want to have it simplified with a script of sorts. Is there a script that can help me get this done? ...

Keeping a single head at remote repo?

I'm sure this has been answered before/somewhere, as i assume it's a common issue, i just can't find it. Basically i have a head, of working code, and branches with various code paths. Like normal. Though when i push i do want all of these branches uploaded to the remote repo. I do so with push -f. Now the problem is my current working ...

Push to a Mercurial repository (bitbucket) produces "Request Entity Too Large" ??

What does it mean when you try to push to a Mercurial repository on Bitbucket and it produces the response: abort: HTTP Error 413: Request Entity Too Large ...

What command do you use to exclude a file from a Mercurial repository?

I have a large file in my Mercurial repository that is preventing my repository from being uploaded to Bitbucket. I get the error: abort: HTTP Error 413: Request Entity Too Large Fortunately the file extension for this file is different from everything else in my repository so it should be easy to create a rule to exclude it. However,...

Extracting a subdirectory of repository A to a different repository B using mercurial

I want to move a part, i.e. one subdirectory of an existing, private mercurial repository to a new, public repository on bitbucket. Is it possible to do this including the changesets or do I have to manually copy the directory to the new repository and commit it there (and lose the version history on the way)? ...

Host Mercurial on my company's intranet?

Instead of using an external web-based Mercurial host, I want to set one up on my company's intranet. Is there a web-based tool for Mercurial that lets you have an interface like Bitbucket's but let's you host Mercurial locally? ...

Accessing a google code repository to get statistics

Code hosting sites such as github and bitbucket have public api's to retrieve statistics of project repositories. Is there such an api in google code or any other way to retrieve statistics about a google code project repository? ...

Cant clone Bitbucket repo via https

Cant clone Bitbucket repo via https on Debian. I always get error: abort: authorization failed Mercurial Distributed SCM (version 1.4.1), Python 2.5.2 Thru ssh and http(w/o pass) work fine ...

Bitbucket API authentication with Python's HTTPBasicAuthHandler

I'm trying to get the list of issues on a private repository using bitbucket's API. I have confirmed that HTTP Basic authentication works with hurl, but I am unable to authenticate in Python. Adapting the code from this tutorial, I have written the following script. import cookielib import urllib2 class API(): api_url = 'http://ap...