On Wed, Aug 16, 2017 at 10:09 PM, Stephan Beal <sgb...@googlemail.com>
wrote:

> It's hypothetically possible, and i investigated it 3 or 4 years ago, but
> the devil is in the details :/. Not impossible, but you have to take care
> of details like properly undelta'ing anything which is deltad against the
> to-be-popped head. At the time i wasn't confident enough in my knowhow of
> the internals to implement it. Also, it would only work up until you push
> to a remote, at which point all bets are off. You should be able to pop any
> number of consecutive heads up until that point, though.
>
> ----- stephan
> Sent from a mobile device, possibly from bed. Please excuse brevity,
> typos, and top-posting.
>
> On Aug 16, 2017 20:30, "bch" <brad.har...@gmail.com> wrote:
>
>>   We really should have (and it's not against philosophy) ability to
>> pop commits off top, though. I've miscommited to a branch, and I think
>> I'd just like to redo it, to say nothing of accidentally committing
>> something sensitive like a credit card number or password.
>>
>> -bch
>>
>
A couple of years ago I added the ability to shun a whole commit at a time,
which would effectively "pop" the last commit if used carefully. I don't
remember the details of how to use it and don't have a fossil repo around
to check, though.


-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to