I find "hg st -ma" most useful, it shows only (m)odified and (a)added files. And using hgignore too, to ignore things like backup files. Maybe -ma is what this script needs?
John Cremona On Dec 15, 6:15 pm, William Stein <[email protected]> wrote: > On Thu, Dec 15, 2011 at 1:59 PM, Jeroen Demeyer <[email protected]> > wrote: > > On 2011-12-15 22:45, William Stein wrote: > >> This is a bug in Sage > > It's not really a bug, it is more of a misfeature[1]. > > I'm confused, because I think it's a straight up bug. The error > message says there are uncommitted changes. However, if you do > > hg commit > > it will say there is nothing to commit. I think the code for > checking for uncommitted changes is wrong, since it uses "hg status" > and ignores the possibility of files that are not in the repo and not > in .hgignore, hence gets thrown off by all those untracked files > (which are listed with a ? in the output of "hg status"). > > > It is *intented* > > behaviour with unfortunate consequences. > > > [1]http://catb.org/jargon/html/M/misfeature.html > > > -- > > 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 > > athttp://groups.google.com/group/sage-support > > URL:http://www.sagemath.org > > -- > William Stein > Professor of Mathematics > University of Washingtonhttp://wstein.org -- 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-support URL: http://www.sagemath.org
