After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647537 - git: Fix switching to the currently configured dvcs-mirror
git: Fix switching to the currently configured dvcs-mirror
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2011-04-12 08:54 UTC by Dirk Wallenstein
Modified: 2011-04-30 01:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
git: Fix switching to the currently configured dvcs-mirror (2.19 KB, patch)
2011-04-12 08:54 UTC, Dirk Wallenstein
committed Details | Review

Description Dirk Wallenstein 2011-04-12 08:54:50 UTC
This takes the commands introduced by d1d8a2c and executes a single call
at the start of each update operation.  The repository will use the
mirror currently defined in jhbuildrc or the online location.

Previously it was not possible to switch from the online URL to a local
dvcs-mirror.
Comment 1 Dirk Wallenstein 2011-04-12 08:54:52 UTC
Created attachment 185782 [details] [review]
git: Fix switching to the currently configured dvcs-mirror
Comment 2 Craig Keogh 2011-04-30 01:49:39 UTC
Comment on attachment 185782 [details] [review]
git: Fix switching to the currently configured dvcs-mirror


Thank you for the report and thank you for the patch. Committed. The existing code errors with "NameError: global name 'git_extra_args' is not defined" so I rushed your patch in before I've completed my testing. My prelim testing looks good though.