Re: [PATCH v5 00/14] New remote-hg helper

2012-11-12 Thread Felipe Contreras
On Sun, Nov 11, 2012 at 11:17 PM, Chris Webb wrote: > Felipe Contreras writes: > >> Implemented now. I'm not handling the 'tip' revision, but most likely >> it's also the '.' revision. In this case a fake 'master' bookmark will >> be created to track that revision. > > Hi Felipe. Sorry for the sl

Re: [PATCH v5 00/14] New remote-hg helper

2012-11-11 Thread Chris Webb
Felipe Contreras writes: > Implemented now. I'm not handling the 'tip' revision, but most likely > it's also the '.' revision. In this case a fake 'master' bookmark will > be created to track that revision. Hi Felipe. Sorry for the slow response, I've been snowed under with work and have only ju

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-31 Thread Felipe Contreras
On Tue, Oct 30, 2012 at 7:00 PM, Chris Webb wrote: > Felipe Contreras writes: > >> Yes, it seems this is an API issue; repo.branchtip doesn't exist in >> python 2.2. > > Hi. Presumably this is a problem with old mercurial not a problem with old > python as mentioned in the commit? Yeah, mercuria

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-30 Thread Felipe Contreras
On Tue, Oct 30, 2012 at 7:00 PM, Chris Webb wrote: > Felipe Contreras writes: > >> Yes, it seems this is an API issue; repo.branchtip doesn't exist in >> python 2.2. > > Hi. Presumably this is a problem with old mercurial not a problem with old > python as mentioned in the commit? > >> Both issue

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-30 Thread Chris Webb
Chris Webb writes: > A common idiom when working with hg bookmarks is to completely ignore the > (not very useful) hg branches (i.e. all commits are on the default hg > branch) and have a bookmark for each line of development used exactly as a > git branch would be. > > On such a repository, at

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-30 Thread Chris Webb
Felipe Contreras writes: > Yes, it seems this is an API issue; repo.branchtip doesn't exist in > python 2.2. Hi. Presumably this is a problem with old mercurial not a problem with old python as mentioned in the commit? > Both issues should be fixed now :) They are indeed, and it now works nice

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-30 Thread Johannes Schindelin
Hi Chris, On Tue, 30 Oct 2012, Chris Webb wrote: > I routinely work with projects in both hg and git, so I'm really > interested in this. Thanks for working on it! I grabbed the latest > version from > > > https://github.com/felipec/git/blob/fc-remote-hg/contrib/remote-hg/git-remote-hg > > a

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-30 Thread Felipe Contreras
On Tue, Oct 30, 2012 at 11:25 AM, Chris Webb wrote: > Hi. I routinely work with projects in both hg and git, so I'm really > interested in this. Thanks for working on it! I grabbed the latest version > from > > > https://github.com/felipec/git/blob/fc-remote-hg/contrib/remote-hg/git-remote-hg >

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-30 Thread Chris Webb
Chris Webb writes: > The first is really a symptom of a general difference between hg and git: an > hg > repository can have multiple heads, whereas a git repo has exactly one head. By this I mean an hg repository without bookmarks or branches can still have multiple heads, whereas a git branch

Re: [PATCH v5 00/14] New remote-hg helper

2012-10-30 Thread Chris Webb
Hi. I routinely work with projects in both hg and git, so I'm really interested in this. Thanks for working on it! I grabbed the latest version from https://github.com/felipec/git/blob/fc-remote-hg/contrib/remote-hg/git-remote-hg and have been trying it out. For the most part, it seems to work

[PATCH v5 00/14] New remote-hg helper

2012-10-29 Thread Felipe Contreras
Hi, I've ported the tests from hg-git and made sure that the output from remote-hg matches the output of hg-git. With these extensive tests I would consider this one ready for wide use. Not only do the tests pass, I've compared the generated repos of a few projects, and the SHA-1's are exactly the