Is anybody else seeing this when running 'git submodule update' in a checkout of the extensions repo?
fatal: reference is not a tree: beead919cac17528f335d9409dfcada12e606ebd Unable to checkout 'beead919cac17528f335d9409dfcada12e606ebd' in submodule path 'MaintenanceShell'
Seems like the submodule's gotten broken somehow? https://gerrit.wikimedia.org/r/51887 attempts to fix it manually...
-- brion
On Sun, Mar 3, 2013 at 5:50 AM, Brion Vibber brion@pobox.com wrote:
Is anybody else seeing this when running 'git submodule update' in a checkout of the extensions repo?
fatal: reference is not a tree: beead919cac17528f335d9409dfcada12e606ebd Unable to checkout 'beead919cac17528f335d9409dfcada12e606ebd' in submodule path 'MaintenanceShell'
Seems like the submodule's gotten broken somehow? https://gerrit.wikimedia.org/r/51887 attempts to fix it manually...
Well it does exist:
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fextensions%2FMaintenance...
But that's not in the log of the current master. Must have had a force push bypassing review. (which makes sense if you look at the history) Maybe not updating the parent repo is a gerrit bug.
-Jeremy
On Sat, Mar 2, 2013 at 9:56 PM, Jeremy Baron jeremy@tuxmachine.com wrote:
On Sun, Mar 3, 2013 at 5:50 AM, Brion Vibber brion@pobox.com wrote:
Is anybody else seeing this when running 'git submodule update' in a checkout of the extensions repo?
fatal: reference is not a tree: beead919cac17528f335d9409dfcada12e606ebd Unable to checkout 'beead919cac17528f335d9409dfcada12e606ebd' in submodule path 'MaintenanceShell'
Seems like the submodule's gotten broken somehow? https://gerrit.wikimedia.org/r/51887 attempts to fix it manually...
Well it does exist:
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fextensions%2FMaintenance...
But that's not in the log of the current master. Must have had a force push bypassing review. (which makes sense if you look at the history) Maybe not updating the parent repo is a gerrit bug.
The auto-updating submodule magic only works if you're pushing through Gerrit. Skip Gerrit, and you don't get the benefits of the magic submodules.
-Chad
On Mar 3, 2013, at 7:04 AM, Chad innocentkiller@gmail.com wrote:
On Sat, Mar 2, 2013 at 9:56 PM, Jeremy Baron jeremy@tuxmachine.com wrote:
On Sun, Mar 3, 2013 at 5:50 AM, Brion Vibber brion@pobox.com wrote:
Is anybody else seeing this when running 'git submodule update' in a checkout of the extensions repo?
fatal: reference is not a tree: beead919cac17528f335d9409dfcada12e606ebd Unable to checkout 'beead919cac17528f335d9409dfcada12e606ebd' in submodule path 'MaintenanceShell'
Seems like the submodule's gotten broken somehow? https://gerrit.wikimedia.org/r/51887 attempts to fix it manually...
Well it does exist:
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fextensions%2FMaintenance...
But that's not in the log of the current master. Must have had a force push bypassing review. (which makes sense if you look at the history) Maybe not updating the parent repo is a gerrit bug.
The auto-updating submodule magic only works if you're pushing through Gerrit. Skip Gerrit, and you don't get the benefits of the magic submodules.
-Chad
Even if after a force push changes are merged by Gerrit the normal way?
I did a one-time import of the original history, replacing the "empty" repository.
After that I merged 3 changes via Gerrit[1] and there have been no forced pushes since.
-- Krinkle
[1] as indicated by the pink ref/changes labels: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/MaintenanceShel...
On Sun, Mar 3, 2013 at 5:50 AM, Brion Vibber brion@pobox.com wrote:
Is anybody else seeing this when running 'git submodule update' in a checkout of the extensions repo?
fatal: reference is not a tree: beead919cac17528f335d9409dfcada12e606ebd Unable to checkout 'beead919cac17528f335d9409dfcada12e606ebd' in submodule path 'MaintenanceShell'
Seems like the submodule's gotten broken somehow? https://gerrit.wikimedia.org/r/51887 attempts to fix it manually...
So I've taken the liberty of approving my own fix. 'git submodule update' no longer barfs on MaintenanceShell in the extensions repo.
On Tue, Mar 5, 2013 at 9:04 AM, Krinkle krinklemail@gmail.com wrote:
On Mar 3, 2013, at 7:04 AM, Chad innocentkiller@gmail.com wrote:
The auto-updating submodule magic only works if you're pushing through Gerrit. Skip Gerrit, and you don't get the benefits of the magic submodules.
-Chad
Even if after a force push changes are merged by Gerrit the normal way?
Apparently.
-- brion
wikitech-l@lists.wikimedia.org