Bitbucket.org
Jesper Noehr
jesper at noehr.org
Thu Jul 31 15:28:51 UTC 2008
On Jul 31, 2008, at 10:22 AM, Manlio Perillo wrote:
> Jesper Noehr ha scritto:
>> On Jul 30, 2008, at 6:36 PM, Manlio Perillo wrote:
>>> Jesper Noehr ha scritto:
>>>> Hi list,
>>>> A while ago, I announced Bitbucket on the developers mailing
>>>> list. I now feel we've reached a point where we can confidently
>>>> announce it to the rest of the world, hence this post.
>>>> In short, Bitbucket offers:
>>>> [...]
>>>> * A hg versioned wiki
>>>
>>> How do you have implemented it?
>> The site is mostly in Django. The versioned wiki is just hosted as
>> any other repository on our site. Not really sure what else you're
>> asking.
>
> The question was: how do you interface the wiki with the Mercurial
> repository?
Without having looked too much at your code, I can describe in short
how we do it:
We interact with the high level mercurial API, we rely on commands
such as repo.add, repo.commit, etc, repo being an instance of
hg.repository. The wiki itself will always be at 'tip', so there won't
be any weird heads. If anything needs to be merged, that'll be on the
users side, and we needn't worry.
HTH,
Jesper
More information about the Mercurial
mailing list