On Wed, Mar 14, 2012 at 13:38, Mark F. Adams <mark.adams at columbia.edu>wrote:
> Damn, I'm not preallocating the graph perfectly for unsymmetric matrices > and PETSc now dies on this. > > I have a fix but I committed it with other changes that I do not want to > commit. The changes are all in one file so I should be able to just commit > this file. > > Anyone know how to delete a commit? > Be careful to make a backup. Edit your ~/.hgrc [extensions] mq = crecord = ~/src/crecord/crecord For partial commits, I use this kinda clunky non-standard extension because I don't know of anything better for Hg. hg clone https://bitbucket.org/edgimar/crecord ~/src/crecord Then you can "hg crecord" which will let you select specific lines to commit. > > I've tried: > > ~/Codes/petsc-dev/src/ksp/pc/impls/gamg>hg strip 22487:26ffb9eef17f > hg: unknown command 'strip' > 'strip' is provided by the following extension: > > mq manage a stack of patches > > use "hg help extensions" for information on enabling extensions > > But have not figured out how to load extensions. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120314/d01eb1a5/attachment.htm>
