On 10/11/07, John Voight <[EMAIL PROTECTED]> wrote: > Is this supposed to happen?
That should definitely not happen. It's likely a bug of some sort. Could you try just removing the file /home/was/s/devel/sage-main/.hg/hgrc? You should make your own ~jvoight/.hgrc file. Please let me know if that works. If so, I need to make sure to remove .hg/hgrc from the sage distro. Thanks for reporting this problem. William > > [EMAIL PROTECTED]:~$ sage -clone voight > Now cloning the current SAGE library branch... > hg clone sage sage-voight > Not trusting file /home/was/s/devel/sage-main/.hg/hgrc from untrusted > user was, group was > abort: Permission denied: sage-voight > Error cloning > > real 0m0.094s > user 0m0.048s > sys 0m0.044s > > (I was trying to follow along the Programming Guide to add the > function nfbasis, which returns the basis and the discriminant: > > def nfbasis_d(self, long flag=0, p=0): > cdef gen _p > cdef GEN g, d > if p != 0: > _p = self.pari(p) > g = _p.g > else: > g = <GEN>NULL > d = self.pari(0) > _sig_on > nfb = self.new_gen(nfbasis(self.g, &d.g, flag, g)) > return nfb, d > > I wanted to test it out first before submitting a patch...) > > Yours, > > John Voight > Assistant Professor of Mathematics > University of Vermont > [EMAIL PROTECTED] > [EMAIL PROTECTED] > http://www.cems.uvm.edu/~voight/ > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---