Problems with committing a single file - grabs everything

Hazlett, Susan G. hazlett1 at llnl.gov
Thu Jan 6 16:36:50 CST 2011


> -----Original Message-----
> From: Matt Mackall [mailto:mpm at selenic.com]
> Sent: Thursday, January 06, 2011 2:28 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 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)?
 [Hazlett, Susan G.] 

No subrepos, single parent.

% hg summary
parent: 1417:6857128369aa tip
 Fix error in comment.
branch: default
commit: 3 modified, 5 unknown
update: (current)
% hg parents
changeset:   1417:6857128369aa
tag:         tip
user:        <removed email SGH>
date:        Thu Jan 06 10:49:36 2011 -0800
summary:     Fix error in comment.

% hg --version
Mercurial Distributed SCM (version 1.5.2)

Copyright (C) 2005-2010 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And just for good measure, I ran hg verify as well:

% hg -v verify 
repository uses revlog format 1 
checking changesets 
checking manifests 
crosschecking files in changesets and manifests 
checking files
5668 files, 1418 changesets, 33437 total revisions

Susan


More information about the Mercurial mailing list