Problems with committing a single file - grabs everything
FUJIWARA Katsunori
fujiwara at ascade.co.jp
Fri Jan 7 03:55:34 CST 2011
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 ?
--------------------
[FUJIWARA Katsunori] fujiwara at ascade.co.jp(foozy at lares.dti.ne.jp)
More information about the Mercurial
mailing list