[PATCH 1 of 2] remotenames: record bookmark changes in the journal

Martijn Pieters mj at zopatista.com
Mon Jul 4 06:52:04 EDT 2016

On 1 July 2016 at 18:55, Sean Farley <sean at farley.io> wrote:
> Martijn Pieters <mj at zopatista.com> writes:
>> [ Unknown signature status ]
>> On 1 Jul 2016, at 18:08, Sean Farley <sean at farley.io> wrote:
>>>> Any changed remote names are logged in the journal so users can track where the
>>>> bookmark pointed to before.
>>> Why not store everything in the journal? Can't we just query it for all
>>> remotenames and use that information to label / namespace things?
>> Because the journal tracks *changes* in bookmarks. If you have journal enabled, when you first clone the repo, you'll have all remote names recorded automatically anyway.
> I understand that. What I'm trying to say is that there are too many
> data stores right now and that I don't want another one. I don't think
> it'd be too hard to abstract things such that there is a journaled
> interaface to namespaces.

Ah, I got confused and picked the wrong definition for 'namespaces'
here. I'll take a look if that's a possibility, I'm not that familiar
with how namespaces are recorded.

However, this would require that we record the current command and
username each and every time if we want to be able to show that when
listing journal entries.

Martijn Pieters

More information about the Mercurial-devel mailing list