On 5/4/11 8:42 PM, Franco Saliola wrote:
On Wed, May 4, 2011 at 11:11 PM, Nicolas M. Thiery
<nicolas.thi...@u-psud.fr>  wrote:
        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.

Patch ready for review at:

     http://trac.sagemath.org/sage_trac/ticket/11296

By the way, it seems that one can push changes to the sage-combinat
server without a username and password. Is that intended (well, perhaps
not related to this ticket).

Cheers,

Anne

--
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to