[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] slick pictures
From: |
Yury Polyanskiy |
Subject: |
Re: [Monotone-devel] slick pictures |
Date: |
Thu, 18 May 2006 13:58:44 -0400 |
On Thu, 2006-05-18 at 00:27 -0700, Nathaniel Smith wrote:
> You need to add "-p0" to this last command.
>
Oh, thanks! My fault.
But even with it:
==============
$ mtn diff -r 3895c20299d04 Makefile >~/tmp/p1
$ cd ..
$ mtn --db=/path/my.db co -r 3895c20299d04 Lm2/
$ cd Lm2/
$ patch -p0 <~/tmp/p1
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
==============
Also it's impossible to generate GNU patch by
$ mtn cat -r 3895c20299d04 Makefile | diff -u - Makefile
because ``mtn cat'' does not regard MT/monotonerc:get_linesep_conv().
Below are mtn (not working) patch ~/tmp/p1:
==============
--- Makefile de03d5fb694862f812dd93032eb27e8b76b3eae3
+++ Makefile 0dbf55dcb12215a7cb72fb7a4dedbf37fc963280
@@ -1,10 +1,10 @@
# Topdir makefile
# sets TOPDIR var
# $Id$
#
# NEW_PCB branch
-export VERSION := 1.4.2
+export VERSION := 1.4.2e
export VERSION_IFACE := 1.3.3.2
==============
And this what regular diff says:
$ diff -u Lm2/Makefile Lmega/Makefile
--- Lm2/Makefile 2006-05-18 13:34:26.000000000 -0400
+++ Lmega/Makefile 2006-04-12 01:02:03.000000000 -0400
@@ -4,7 +4,7 @@
#
# NEW_PCB branch
-export VERSION := 1.4.2
+export VERSION := 1.4.2e
export VERSION_IFACE := 1.3.3.2
==============
I think the problem might be that mtn adds to many context before? I
think so because mtn's diffs work if I use patch -F100 usually.
YP.
signature.asc
Description: This is a digitally signed message part
- Re: [Monotone-devel] Re: mtn pull venge.net fail on windows, (continued)
- Re: [Monotone-devel] slick pictures, Yury Polyanskiy, 2006/05/18
- Re: [Monotone-devel] slick pictures, Justin Patrin, 2006/05/18
- Re: [Monotone-devel] slick pictures, Yury Polyanskiy, 2006/05/18
- Re: [Monotone-devel] slick pictures, Nathaniel Smith, 2006/05/18
- Re: [Monotone-devel] slick pictures, Nathaniel Smith, 2006/05/18
- Re: [Monotone-devel] slick pictures, Ethan Blanton, 2006/05/18
- [Monotone-devel] Re: slick pictures, Bruce Stephens, 2006/05/18
- [Monotone-devel] Re: slick pictures, Bruce Stephens, 2006/05/18
- Re: [Monotone-devel] slick pictures,
Yury Polyanskiy <=
- Re: [Monotone-devel] slick pictures, Nathaniel Smith, 2006/05/18