Problems with committing a single file - grabs everything
FUJIWARA Katsunori
fujiwara at ascade.co.jp
Fri Jan 7 09:17:49 CST 2011
Hi.
At Fri, 07 Jan 2011 18:55:34 +0900,
FUJIWARA Katsunori wrote:
>
> At Thu, 06 Jan 2011 16:27:45 -0600,
> Matt Mackall wrote:
> >
> > On Thu, 2011-01-06 at 13:35 -0800, Hazlett, Susan G. wrote:
> > > > -----Original Message-----
> > > > From: Matt Mackall [mailto:mpm at selenic.com]
> > > > Sent: Thursday, January 06, 2011 1:08 PM
> > > > To: Hazlett, Susan G.
> > > > Cc: mercurial at selenic.com
> > > > Subject: Re: Problems with committing a single file - grabs everything
> > > >
> > > > On Thu, 2011-01-06 at 11:34 -0800, Hazlett, Susan G. wrote:
> > > > > When he looked at the commit, it took *all* the files rather than just
> > > > > config.suggest. We rolledback, tried it again and this time, the
> > > > > commit took only the config.suggest as he had originally wanted.
> > > > > Thinking it an anomaly, we moved on, but 5 minutes later he came back
> > > > > and was able to reproduce the problem.
> > > >
> > > > That's odd. Perhaps there's something interesting hiding in:
> > > >
> > > > hg showconfig --debug
> > >
> > > [Hazlett, Susan G.]
> > > I'm including output from both environments. The first is from where the problem occurred, the second is mine where I could not reproduce. (I've removed only the username line from both to avoid publishing the email).
> >
> > Hmm, nothing obvious there. What versions are you using? Are you using
> > subrepos? Does the working directory have two parents (hg parents or hg
> > summary)?
>
> Recently, I found strange behavior of HG(version 1.7):
>
> - "hg log -r REV -p" shows diff of file A
>
> - "hg log -r REV -p A" shows NOTHING !!!!
>
> - "hg diff -c REV" shows diff of file A
>
> - "hg diff -c REV A" shows diff of file A
>
> I think that this "hg log" behavior is unexpected one.
>
> # sorry, not yet start debugging :-)
>
> Perhaps, does this problem relate with above "hg commit" problem ?
Sorry, my problem is already resolved ...
http://www.selenic.com/pipermail/mercurial-devel/2010-April/020715.html
I only remember "hg log" does not work expectedly, but forgot that "hg
diff" works well :-<
--------------------
[FUJIWARA Katsunori] fujiwara at ascade.co.jp(foozy at lares.dti.ne.jp)
More information about the Mercurial
mailing list