--- Begin Message ---
Subject: |
guix pull impossible after rebasing a local repository |
Date: |
Fri, 29 May 2020 09:38:32 -0700 |
Hi Guix,
I use a local git repo with branch that I specify in channels.scm.
My usual workflow is:
1. rebase on origin
2. guix pull
This stopped working with the following error:
Updating channel 'guix' from Git repository at
'file:///home/john/projects/guix/.git'...
guix pull: error: aborting update of channel 'guix' to commit
1444040933ac35b967720288dc30ed70e5481ed3, which is not a descendant of
57518fc7bf1efc899c0dabaa76685a319661f8e4
hint: This could indicate that the channel has been tampered with and is trying
to
force a roll-back, preventing you from getting the latest updates. If you think
this is not the case, explicitly allow non-forward updates.
After removing $HOME/.cache/guix I get the following error:
guix pull: error: Git error: object not found - no match for id
(57518fc7bf1efc899c0dabaa76685a319661f8e4)
Many thanks,
John
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#41604: guix pull impossible after rebasing a local repository |
Date: |
Fri, 05 Jun 2020 18:13:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
John Soo <jsoo1@asu.edu> skribis:
>> Normally, ‘--allow-downgrades’ does exactly what you need, at least
>> that’s the intent. I’d argue that it’s also reasonable to use it in
>> this case because obviously you know what you’re doing, and you’re
>> pulling from a local Git repository, so that’s fine.
>
> 100% it does what I need.
>
> Thanks again, feel free to close.
OK, closing. Let me know if you stumble upon issues in that area!
Ludo’.
--- End Message ---