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
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)
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: