Patchwork manifest: fix formatting

login
register
mail settings
Submitter Bryan O'Sullivan
Date Dec. 13, 2015, 4:10 a.m.
Message ID <3836ee8d6627ca797ece.1449979843@bryano-mbp.netgear.com>
Download mbox | patch
Permalink /patch/11996/
State Accepted
Delegated to: Yuya Nishihara
Headers show

Comments

Bryan O'Sullivan - Dec. 13, 2015, 4:10 a.m.
# HG changeset patch
# User Bryan O'Sullivan <bos@serpentine.com>
# Date 1449979833 28800
#      Sat Dec 12 20:10:33 2015 -0800
# Node ID 3836ee8d6627ca797ece771216f97120842d8817
# Parent  654fd60e4702ae14b70c81574587c782deb301f7
manifest: fix formatting

One poor unfortunate line was hanging way off the right hand side
of the universe.  Rescued it.
Yuya Nishihara - Dec. 13, 2015, 6:55 a.m.
On Sat, 12 Dec 2015 20:10:43 -0800, Bryan O'Sullivan wrote:
> # HG changeset patch
> # User Bryan O'Sullivan <bos@serpentine.com>
> # Date 1449979833 28800
> #      Sat Dec 12 20:10:33 2015 -0800
> # Node ID 3836ee8d6627ca797ece771216f97120842d8817
> # Parent  654fd60e4702ae14b70c81574587c782deb301f7
> manifest: fix formatting
> 
> One poor unfortunate line was hanging way off the right hand side
> of the universe.  Rescued it.

Oh, queued for the clowncopter, thanks.

Patch

diff --git a/mercurial/manifest.c b/mercurial/manifest.c
--- a/mercurial/manifest.c
+++ b/mercurial/manifest.c
@@ -242,7 +242,7 @@  static PyObject *lmiter_iterentriesnext(
 	hash = nodeof(l);
 	consumed = pl + 41;
 	flags = PyString_FromStringAndSize(l->start + consumed,
-									   l->len - consumed - 1);
+					   l->len - consumed - 1);
 	if (!path || !hash || !flags) {
 		goto done;
 	}