Patchwork [6,of,7] tests: make printenv executable

login
register
mail settings
Submitter Matt Mackall
Date June 8, 2015, 10:52 p.m.
Message ID <ee25f3b990c12896b136.1433803926@ruin.waste.org>
Download mbox | patch
Permalink /patch/9564/
State Accepted
Delegated to: Pierre-Yves David
Headers show

Comments

Matt Mackall - June 8, 2015, 10:52 p.m.
# HG changeset patch
# User Matt Mackall <mpm@selenic.com>
# Date 1433802885 18000
#      Mon Jun 08 17:34:45 2015 -0500
# Node ID ee25f3b990c12896b136db9f96347f570302dbec
# Parent  035285149ab9dbcf988e550381de50c9e6372a83
tests: make printenv executable
Pierre-Yves David - June 9, 2015, 2:14 a.m.
On 06/08/2015 03:52 PM, Matt Mackall wrote:
> # HG changeset patch
> # User Matt Mackall <mpm@selenic.com>
> # Date 1433802885 18000
> #      Mon Jun 08 17:34:45 2015 -0500
> # Node ID ee25f3b990c12896b136db9f96347f570302dbec
> # Parent  035285149ab9dbcf988e550381de50c9e6372a83
> tests: make printenv executable

Well, as you are not using git format diff (!!!), this patch is actually 
just adding two file. (fixed locally)
Augie Fackler - June 9, 2015, 12:40 p.m.
On Mon, Jun 08, 2015 at 07:14:40PM -0700, Pierre-Yves David wrote:
>
>
> On 06/08/2015 03:52 PM, Matt Mackall wrote:
> ># HG changeset patch
> ># User Matt Mackall <mpm@selenic.com>
> ># Date 1433802885 18000
> >#      Mon Jun 08 17:34:45 2015 -0500
> ># Node ID ee25f3b990c12896b136db9f96347f570302dbec
> ># Parent  035285149ab9dbcf988e550381de50c9e6372a83
> >tests: make printenv executable
>
> Well, as you are not using git format diff (!!!), this patch is actually
> just adding two file. (fixed locally)

This makes me think we should print a warning when using 'export' and
the diff is lossy.

>
> --
> Pierre-Yves David
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff -r 035285149ab9 -r ee25f3b990c1 tests/printenv.py
--- a/tests/printenv.py	Mon Jun 08 15:02:49 2015 -0500
+++ b/tests/printenv.py	Mon Jun 08 17:34:45 2015 -0500
@@ -1,3 +1,5 @@ 
+#!/usr/bin/env python
+#
 # simple script to be used in hooks
 #
 # put something like this in the repo .hg/hgrc: