Another "hg diff" annoyance

Greg Lindahl greg at blekko.com
Thu May 21 21:28:53 CDT 2009


On Fri, May 22, 2009 at 02:14:46AM +0000, TK Soh wrote:
> On Thu, May 21, 2009 at 9:55 PM, Greg Lindahl <greg at blekko.com> wrote:
> > Perhaps this is well known, but, one of my users was just surprised.
> >
> > He had removed a file without "hg rm".
> >
> > So eventually he ran into "abort: uncommitted changes".
> 
> Just wondering, what was the command he used that gave this error?
> Also, did he trying to untrack the file?

He needed to merge, and couldn't.

As I said, he didn't untrack the file. That's a user error. But the
consequences of this error are too hard to find... he reasonably
expects that if there are uncommitted changes, "hg diff" will tell him
about it.

-- greg



More information about the Mercurial mailing list