Groking the Mercurial
Essien Ita Essien
me at essienitaessien.com
Sun Sep 9 02:11:52 CDT 2007
Thomas Arendsen Hein wrote:
> * Essien Ita Essien <me at essienitaessien.com> [20070907 15:24]:
>> I want to describe my thoughts here and please someone point my brain in
>> the right direction when I make a mistake.
>
> Some hints:
> - Try to understand the filelog/manifest/changelog hierarchy first
> and ignore everything you might know about contexts.
ok.
> - All these various revlogs are append-only, so you can't remove
> things.
argggh!!! :)
Removing files from the next changelog revision is done by
> appending a new manifest revision which no longer lists the file.
hmmm... so it seems i can't retroactively go back in time and wipe the
history of a file using that method. no?
It seems the only way to play Stephen Hawking on a file with a view to
making it look like it never existed is create a parallel universe
uhmm... new repository :D where it never actually existed.
I had been thinking it would be possible to do this in-place.
> - Contexts just present a view on these revlogs or on the working
> dir in a unified way. Don't look at them to understand the design,
> only look at them to use them as an API :)
ahhhh.... ok... that certainly cleared that up.
thnx for the comments.
Anymore comments for a mercurial-internals challenged newbie? :)
Cheers,
Essien
>
> Thomas
>
More information about the Mercurial-devel
mailing list