[PATCH] test-import: enable for Windows

Adrian Buehlmann adrian at cadifra.com
Tue Jun 5 09:15:11 CDT 2012


On 2012-06-05 14:42, Mads Kiilerich wrote:
> It isn't obvious for an eye-ball-diff to see the difference between the 
> two branches and why the difference is correct. Perhaps a comment would 
> be helpful.

Perhaps, it would be more obvious if we could do:

<snip>

  $ hg diff --git -c tip
  diff --git a/lib/place-holder b/lib/place-holder
  new file mode 100644
  --- /dev/null
  +++ b/lib/place-holder
  @@ -0,0 +1,2 @@
  +perforce does not maintain empty directories.
  +this file helps.
  diff --git a/pkg/place-holder b/pkg/place-holder
  new file mode 100644
  --- /dev/null
  +++ b/pkg/place-holder
  @@ -0,0 +1,2 @@
  +perforce does not maintain empty directories.
  +this file helps.
#if execbit
  diff --git a/src/cmd/gc/mksys.bash b/src/cmd/gc/mksys.bash
  old mode 100644
  new mode 100755
#endif

/* The mode change for mksys.bash may be missing here, because on platforms */
/* that don't support execbits, mode changes in patches are ignored when    */
/* they are imported without --bypass */

</snip>

But I bet this would be pretty difficult to implement.


More information about the Mercurial-devel mailing list