Bonjour Samuel!
On Wed, May 04, 2011 at 08:41:45PM +0200, slelievre wrote:
> I helped a colleague install sage (version 4.7.rc1) and told him to run
>
> sage -combinat install
>
> The combinat install failed, here are the last few lines that were
> printed as it was installing.
>
> applying sage-4.7.1.patch
> patch sage-4.7.1.patch is empty
> transaction abort!
> rollback completed
> cleaning up working directory...done
> abort: no username supplied (see "hg help config")
> Abort
>
> Is this because combinat is not ready for 4.7.rc1 yet?
The patches should apply fine on 4.7.rc1 (modulo a bunch that need to
be rebased, but are guarded out).
> Or does it mean he should first create a .hgrc file?
In principle, a .hgrc file should not be needed. But I have had other
similar reports. Investigating a bit further, it seems that hg can't
apply an empty patch if it is not given a user name:
zephyr-~>mkdir blah
zephyr-~>cd blah
zephyr-~/blah>hg init
zephyr-~/blah>hg import ~sp/sage-4.7.1.patch
application de /opt/sage/devel/sage-combinat/.hg/patches/sage-4.7.1.patch
abandon : no diffs found
zephyr-~/blah>hg qimport ~sp/sage-4.7.1.patch
ajout de sage-4.7.1.patch à la liste de patchs (fichier "series")
zephyr-~/blah>hg qpush
application de sage-4.7.1.patch
le patch sage-4.7.1.patch est vide
nettoyage du répertoire de travail...effectué
abandon : no username supplied (see "hg help config")
Yikes, yet another empty bug! We should report this to mercurial.
Franco is going to work aroung this in the Sage-Combinat script.
Cheers,
Nicolas
--
Nicolas M. Thiéry "Isil" <[email protected]>
http://Nicolas.Thiery.name/
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-combinat-devel?hl=en.