hg diff mystery (again)
Neal Becker
ndbecker2 at gmail.com
Sun Jan 13 18:49:26 CST 2008
On Sunday 13 January 2008, Matt Mackall wrote:
> On Sun, 2008-01-13 at 19:35 -0500, Neal Becker wrote:
> > Neal Becker wrote:
> > > I just did hg pull -u from http://selenic.com/repo/hg.
> > > hg status
> > > M doc/Makefile
> > >
> > > hg diff doc/Makefile
> > > [silence]
> > >
> > > hg diff --git doc/Makefile
> > > [still silence]
> >
> > Isn't something wrong here? How can doc/Makefile be marked as modified,
> > but diff --git shows nothing?
>
> It's a bit mysterious. What's hg parents say? Is the exec bit set? How
> about in the manifest? What version are you using?
This is current hg head from selinic.com/repo/hg, just updated minutes ago.
hg diff --git isn't working.
hg manifest -v | grep Makefile
644 doc/Makefile
ls -l Makefile
-rw-rw-r-- 1 nbecker nbecker 918 2007-10-15 21:46 Makefile
Now:
chmod 644 Makefile
hg status
M doc/Makefile
hg diff --git Makefile
[still silence]
hg verify shows no problem.
More information about the Mercurial
mailing list