historical question, when were named branches introduced, when bookmark

Uwe Brauer oub at mat.ucm.es
Sun Jan 24 21:50:47 UTC 2021


>>> "AF" == Augie Fackler <lists at durin42.com> writes:

> On Sun, Jan 24, 2021 at 12:31 PM Uwe Brauer <oub at mat.ucm.es> wrote:
>> 
>> 
>> Hi
>> 
>> I tried to search though the log msg (there is no News file).
>> 
>> So I would like to simply ask.
>> 
>> 1. When were named branches introduced?

> https://www.mercurial-scm.org/repo/hg/log?rev=first%28keyword%28branch%29+and+keyword%28name%29%29
> indicates to me at least as far back as 2005, so pretty much from the
> beginning of hg.


Interesting. I understand that in the very early days of mercurial
branching was done by cloning and that is why I thought 
Thorvalds critique of HG 
in https://gist.github.com/dukeofgaming/2150263

was because of the lack of true branches at that very early state.

However I am not entirely sure when this talk was given, I thought in
2005, but it seems in 2007, so that time mercurial already had branches.
Hm 


>> 
>> 2. When bookmarks?

> 2008: https://www.mercurial-scm.org/repo/hg/log?rev=first%28keyword%28bookmark%29%29
> though they'd been in an external extension before that, probably for
> around a year? Maybe longer.


Thanks. A last question, what is the most efficient way to search from
the command line in a repository?

I did either 

hg grep 

or 

hg log | more 

And then searched, but without success. So any more efficient search
strategy would be very much welcome.

Regards

Uwe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210124/d12bfdd4/attachment.p7s>


More information about the Mercurial mailing list