Another "hg diff" annoyance

TK Soh teekaysoh at gmail.com
Thu May 21 23:43:16 CDT 2009


On Fri, May 22, 2009 at 2:28 AM, Greg Lindahl <greg at blekko.com> wrote:
> 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.

IMHO, hg status is _the_ command for this. He simply use the 'wrong' command.


More information about the Mercurial mailing list