GNU bug report logs - #66212
30.0.50; C-x v v and vc-diff with fossil-scm

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Alfred M. Szmidt" <ams@HIDDEN>; Keywords: moreinfo; dated Tue, 26 Sep 2023 12:26:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Sean Whitton <spwhitton@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66212 <at> debbugs.gnu.org:


Received: (at 66212) by debbugs.gnu.org; 14 Mar 2025 04:22:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 14 00:22:31 2025
Received: from localhost ([127.0.0.1]:59348 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tswZ5-0004eX-Hq
	for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 00:22:31 -0400
Received: from sendmail.purelymail.com ([34.202.193.197]:33202)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1tswZ3-0004eD-8E
 for 66212 <at> debbugs.gnu.org; Fri, 14 Mar 2025 00:22:29 -0400
DKIM-Signature: a=rsa-sha256;
 b=dKebMGP7ugM4EtaVGwGu9+FvLQr856yEp1aumuY7buygDL1FWtSUvldSDss7Cu/oEgN95RBKN4BVm303pfa8ixGM4gs0yEroMmNgy08geVcI9QZwI3wdBLI6G+AUIjpNRo9Mw7La9omF99M1ywi9pJbkFeplbiGjeMf15RkdgPaY9M+1ApblxPM7R0VgehUrpka+n/CTqytSWzO0rCyMDOawTAy5pIbHWjeKyFFH39ssPptK/+Cuiz+0oJNZjKRRtN3s2x4nvRVl5oOUrx5ziGLfSnUQ6A7pB3wxi/dtDhAuDy0NkWYoJxOjSr6MpJHsdv3r4XtouYIBRy8oZEdiHg==;
 s=purelymail1; d=spwhitton.name; v=1;
 bh=DLHm6K7yRRJhhd9rMTUdoVe6Ki6KhsTiuV0/eLuCEXk=;
 h=Received:Received:From:To:Subject:Date; 
DKIM-Signature: a=rsa-sha256;
 b=j7BOqymlvRR1raq2koA/0ONdh1nEa2WM1KcbumJeihrYpNwlMRMLnXichBeYUoLmFrmSjhQfrk8L6VkM7Aa/bD7HJrUL9PJ9GS4BAyYlWkpY+H3s5yG5evAjio+FgWN79lRho0WNoJ3Vw8yVHQvCT3nFD2m1nD6FhHZihhNxBoifsIYcsreHNgZZdpgMftSmJeB79W8WCu2fvtzL9WOMWwY3SBcrasghWW7YiD2H9H93s6WY+CRcmx9OdHbOiTuK+Wui1pYPVJQXZNETHUu3CBg3BbXPe/40INGLJjvwwt2oNn8zOKO4rD3X+fnuJnw2xVIseVlSD7hgFe6EdNmTgg==;
 s=purelymail1; d=purelymail.com; v=1;
 bh=DLHm6K7yRRJhhd9rMTUdoVe6Ki6KhsTiuV0/eLuCEXk=;
 h=Feedback-ID:Received:Received:From:To:Subject:Date; 
Feedback-ID: 20115:3760:null:purelymail
X-Pm-Original-To: 66212 <at> debbugs.gnu.org
Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -2013983655; 
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Fri, 14 Mar 2025 04:22:23 +0000 (UTC)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 3E90B7EE68C; Fri, 14 Mar 2025 12:22:20 +0800 (CST)
From: Sean Whitton <spwhitton@HIDDEN>
To: "Alfred M. Szmidt" <ams@HIDDEN>
Subject: Re: bug#66212: 30.0.50; C-x v v and vc-diff with fossil-scm
In-Reply-To: <E1qmCjj-0007uG-Jt@HIDDEN>
References: <E1ql77d-0004z6-EE@HIDDEN> <83fs2x1mha.fsf@HIDDEN>
 <E1qmCjj-0007uG-Jt@HIDDEN>
Date: Fri, 14 Mar 2025 12:22:20 +0800
Message-ID: <878qp81bsz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 66212
Cc: control <at> debbugs.gnu.org, 66212 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)

tag 66212 + moreinfo
thanks

On Fri 29 Sep 2023 at 08:36am -04, Alfred M. Szmidt wrote:

>    or doesn't set the default-directory of the vc-diff buffer to the
>    directory of the files as named in the diffs.
>
> I'll check that.

Were you able to check this?

Thanks.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66212; Package emacs. Full text available.

Message received at 66212 <at> debbugs.gnu.org:


Received: (at 66212) by debbugs.gnu.org; 29 Sep 2023 12:37:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 29 08:37:18 2023
Received: from localhost ([127.0.0.1]:55485 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qmCk9-0004sE-SL
	for submit <at> debbugs.gnu.org; Fri, 29 Sep 2023 08:37:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36946)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ams@HIDDEN>) id 1qmCk4-0004rt-5n
 for 66212 <at> debbugs.gnu.org; Fri, 29 Sep 2023 08:37:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ams@HIDDEN>) id 1qmCjk-00053b-00
 for 66212 <at> debbugs.gnu.org; Fri, 29 Sep 2023 08:36:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From:
 mime-version; bh=roYtko8b6H6P4yquxgIN9lXc/RmkNkE+4qhq3VXgU+4=; b=oP4jnyKx32ke
 vOqzRsQ0SY70LCr5JfXrp8g94vRcBYj/rSsrRitiuCUlM85RyXajJYRGW6s4VhtK7pNCeLe5fXtWz
 rmGhWYB6r+AWn3h1/xYWxw4l8vBTlS0QST97v7NAHVByHpfX3SDUIm2TimJaU9k6v1mwc/ORDB3w7
 tAmkeZBTFN1KAlp+6hEigMDONtxDODNWyCDMCXTnOhBjBo6NXE6BeWSwxT6m3imUwGwDkvZc9axIh
 /kptoX1UW4wIarfCy9ttjxD2TZb6Au0ZmEXMNmOXVcRguf8XhQ9ftNBQXg5mVkOX9WjkFjtDpMKuM
 d5SAjMHMbkV1bIBRXiz/wQ==;
Received: from ams by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <ams@HIDDEN>)
 id 1qmCjj-0007uG-Jt; Fri, 29 Sep 2023 08:36:51 -0400
From: "Alfred M. Szmidt" <ams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <83fs2x1mha.fsf@HIDDEN> (message from Eli Zaretskii on Fri, 29
 Sep 2023 10:12:49 +0300)
Subject: Re: bug#66212: 30.0.50; C-x v v and vc-diff with fossil-scm
References: <E1ql77d-0004z6-EE@HIDDEN> <83fs2x1mha.fsf@HIDDEN>
Message-Id: <E1qmCjj-0007uG-Jt@HIDDEN>
Date: Fri, 29 Sep 2023 08:36:51 -0400
X-Spam-Score: -2.2 (--)
X-Debbugs-Envelope-To: 66212
Cc: 66212 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)


   > From: "Alfred M. Szmidt" <ams@HIDDEN>
   > Date: Tue, 26 Sep 2023 08:25:01 -0400
   > 
   > 
   > When trying to use C-x v v in a vc-diff buffer, and when the version
   > control system is Fossil (this is using GNU patch):
   > 
   > Checking in foo...
   > user-error: Patch failed: can't find file to patch at input line 5
   > Perhaps you used the wrong -p or --strip option?
   > The text leading up to this was:
   > --------------------------
   > |Index: foo
   > |==================================================================
   > |--- foo
   > |+++ foo
   > --------------------------
   > File to patch: 
   > Skip this patch? [y] 
   > Skipping patch.
   > 1 out of 1 hunk ignored
   > 
   > 
   > To reproduce, make a empty Fossil repostiroy, add and commit a file,
   > add a line, C-x v =, C-x v v.  vc-fossil has to be installed.

   Crystal ball says that vc-fossil (which is not part of Emacs, AFAICT)
   either doesn't instruct Fossil to produce root-relative file names in
   the diffs (IOW, "foo" above should actually ne "some/directory/foo"),

The file foo was in ./ -- so I think the above is correct.

   or doesn't set the default-directory of the vc-diff buffer to the
   directory of the files as named in the diffs.

I'll check that.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66212; Package emacs. Full text available.

Message received at 66212 <at> debbugs.gnu.org:


Received: (at 66212) by debbugs.gnu.org; 29 Sep 2023 07:13:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 29 03:13:43 2023
Received: from localhost ([127.0.0.1]:55041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qm7gv-00017r-7j
	for submit <at> debbugs.gnu.org; Fri, 29 Sep 2023 03:13:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qm7gt-00017d-JJ
 for 66212 <at> debbugs.gnu.org; Fri, 29 Sep 2023 03:13:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1qm7gW-0007uq-EQ
 for 66212 <at> debbugs.gnu.org; Fri, 29 Sep 2023 03:13:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=lHcjIjejYR6O7OqIgN4XYnCZ7geu1Qm6bS5DQaJEIAc=; b=QrrK4kGkEggN
 PKENvQ9RU9ZtOO6AkXX0Q1pcD712E1kovjYdHuudZLlVOPJqJB48C2fmgGv/v2j4pc7r/1sAY3Wg3
 Bv9F+UKToc6oc+fLkf/lnS3z2tYqB8zEDFF496GRDPOm/OMvuMYpUuBLFrv82xueatE66Uh5l03+M
 qq4YtEbQu1IqzmffzJQTqtj+r2QbWMc+SK/RqF4oTSFrj7UUvJ2wA6kZ+Ohn1Ep9B8ePLc9rQ/9Fv
 Jsw88NvdoNtOiulEAh78AG+U1KEn0BOPVmmLy8BWs+J7awMZlhUnEqHtYtWVta0IFXmOaTLrJObLR
 DJHr41e5ci3i1+zdf/suwg==;
Date: Fri, 29 Sep 2023 10:12:49 +0300
Message-Id: <83fs2x1mha.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: "Alfred M. Szmidt" <ams@HIDDEN>
In-Reply-To: <E1ql77d-0004z6-EE@HIDDEN> (ams@HIDDEN)
Subject: Re: bug#66212: 30.0.50; C-x v v and vc-diff with fossil-scm
References: <E1ql77d-0004z6-EE@HIDDEN>
X-Spam-Score: -2.2 (--)
X-Debbugs-Envelope-To: 66212
Cc: 66212 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)

> From: "Alfred M. Szmidt" <ams@HIDDEN>
> Date: Tue, 26 Sep 2023 08:25:01 -0400
> 
> 
> When trying to use C-x v v in a vc-diff buffer, and when the version
> control system is Fossil (this is using GNU patch):
> 
> Checking in foo...
> user-error: Patch failed: can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: foo
> |==================================================================
> |--- foo
> |+++ foo
> --------------------------
> File to patch: 
> Skip this patch? [y] 
> Skipping patch.
> 1 out of 1 hunk ignored
> 
> 
> To reproduce, make a empty Fossil repostiroy, add and commit a file,
> add a line, C-x v =, C-x v v.  vc-fossil has to be installed.

Crystal ball says that vc-fossil (which is not part of Emacs, AFAICT)
either doesn't instruct Fossil to produce root-relative file names in
the diffs (IOW, "foo" above should actually ne "some/directory/foo"),
or doesn't set the default-directory of the vc-diff buffer to the
directory of the files as named in the diffs.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66212; Package emacs. Full text available.

Message received at 66212 <at> debbugs.gnu.org:


Received: (at 66212) by debbugs.gnu.org; 26 Sep 2023 13:45:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 09:45:45 2023
Received: from localhost ([127.0.0.1]:47648 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ql8Nk-0004yq-Sf
	for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 09:45:45 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:51709)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dmitry@HIDDEN>) id 1ql8Ni-0004yb-SI
 for 66212 <at> debbugs.gnu.org; Tue, 26 Sep 2023 09:45:43 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id B38785C25F0;
 Tue, 26 Sep 2023 09:45:24 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Tue, 26 Sep 2023 09:45:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :content-transfer-encoding:content-type:content-type:date:date
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to; s=fm1; t=
 1695735924; x=1695822324; bh=v7hYk5NCzro7ZwabzMC7t/MyNsJTFlrPdbY
 Q2kUT4d0=; b=ltx11MHhGJvreoPXocetMHRJ/y4mJsYodhUK3pePu8iZrveWzhJ
 f469jPvoG1qh+0C2Ae40hbavB8pKpw+vqy5V8SyTmS03gJ29VTR6ZFe+37g+vT8Q
 JqmicDMRVE2Ib5zekg0ocMr4H9ylRYYDlD0YT4q/xfCSz8zFvYFEB4qxXlomqsDN
 txV27B+ZhzSfr77ekuzpzRaJS6xaokiBiILw8Ru3tBfNP0wpgcg8IZkmGc+5xXca
 w/uFTf8vLTHf3oVD3EzP8rLA+Vr3RehWXUkjky148pVTVfUXogYId2Pt6H3XTFR8
 2GcPSU5jO1mijkqXiHqJ/MQ8m98IV2HwW0w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1695735924; x=
 1695822324; bh=v7hYk5NCzro7ZwabzMC7t/MyNsJTFlrPdbYQ2kUT4d0=; b=l
 uqasBBBa9RYkvZfSYyqA0GkMUdfx1sXwp4LEXhbLfK6MS/G2frHVA7/XXH/t1Egp
 2ThzjkiEJs8ZogzPfjelsCgGO9hfBHL8XD9SlBjZf+wwx+ytVAlGKCmzsDVSWywd
 NtZYmrB9fLsHe703lJO9z0YjuVwwbJVONfa+XfBn6zpBgPGRZ7QwXjSWQXSIU5n4
 nuqHtY1kOb0zq0VOZMAOoRsWzqVAGRaHA6X8pv+aivP8L6FR/ysAXRGHeLGf88kt
 dizUInhfKpAG2YestfdZD8a+FqpWeqMCZRh2bLClRRUVzoSGzYcsQ8AGXlbwr64O
 1rpbmo0mRWQRvkG0s25LQ==
X-ME-Sender: <xms:dOASZbisZVOneTG6AtrJEsprfCTLAjeXPtuuCz3nNv13S3T0tFd_xQ>
 <xme:dOASZYD2De13CafzTpZ02WaqosEuIlD_hWMDECITY2aUpg5tOA4qmywi296vBn0WW
 vh8VVbULe30w6LVVOc>
X-ME-Received: <xmr:dOASZbFMya9tNw392acv20u5MSyPn_HzbZdhUbO3E8Qtw1NLu2NoTkzIahTilU0>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvjedrtddtgdeflecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejre
 dttdefjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhht
 ohhvrdguvghvqeenucggtffrrghtthgvrhhnpeeghedthedujeeiteeutddtjeekheejte
 eukeehffdutdejuedvfeevueevieduudenucevlhhushhtvghrufhiiigvpedtnecurfgr
 rhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh
X-ME-Proxy: <xmx:dOASZYQZrCkVGI6Og5tZVaMNvuzGvztUjjwal40GXq6gLlDV-l1OSA>
 <xmx:dOASZYw5J5e8pPxfJl3TndoOaAAFKdZr_PN5WBP9mPkzynbtBJWYnQ>
 <xmx:dOASZe7kXY_dJ6W6F2fHeW90ksEnLVpOkTfDGoBzNdLtl0OG2kdD6Q>
 <xmx:dOASZebudtxR9iRgLAh_uWwUnvDBkgRyh6w5pD9sfZfqvNBoBka1nw>
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 26 Sep 2023 09:45:23 -0400 (EDT)
Message-ID: <87dfb6d0-fba4-6470-300c-2065e0d41061@HIDDEN>
Date: Tue, 26 Sep 2023 16:45:22 +0300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.13.0
Subject: Re: bug#66212: 30.0.50; C-x v v and vc-diff with fossil-scm
Content-Language: en-US
To: "Alfred M. Szmidt" <ams@HIDDEN>, 66212 <at> debbugs.gnu.org
References: <E1ql77d-0004z6-EE@HIDDEN>
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <E1ql77d-0004z6-EE@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.1 (--)
X-Debbugs-Envelope-To: 66212
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.1 (---)

On 26/09/2023 15:25, Alfred M. Szmidt wrote:
> When trying to use C-x v v in a vc-diff buffer, and when the version
> control system is Fossil (this is using GNU patch):
> 
> Checking in foo...
> user-error: Patch failed: can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: foo
> |==================================================================
> |--- foo
> |+++ foo
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> 
> 
> To reproduce, make a empty Fossil repostiroy, add and commit a file,
> add a line, C-x v =, C-x v v.  vc-fossil has to be installed.

Could you do some more investigation?

Is it just that 'patch' is unable to recognize the format of the diff 
file? Or is it launched from the wrong directory? With wrong arguments?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66212; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Sep 2023 12:25:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 08:25:27 2023
Received: from localhost ([127.0.0.1]:47558 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ql783-0000Cg-AS
	for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:25:27 -0400
Received: from lists.gnu.org ([2001:470:142::17]:57826)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ams@HIDDEN>) id 1ql77x-0000CJ-OZ
 for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:25:25 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ams@HIDDEN>) id 1ql77f-0003hs-0W
 for bug-gnu-emacs@HIDDEN; Tue, 26 Sep 2023 08:25:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ams@HIDDEN>) id 1ql77e-00040C-N4
 for bug-gnu-emacs@HIDDEN; Tue, 26 Sep 2023 08:25:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:Subject:To:From:mime-version:in-reply-to:
 references; bh=6OEhlxzZ1tct7ighlHZ4Okn2eGx8cSAVQpOKrAqdUtE=; b=I14Cbm4s6MuATR
 WS/3Fnwz4s8fPE3xZ0rAvRkRcQHWQ+IZReRwRFJzyZBKLPQLD9jLAoPtwv34qHz8+tT+hi7lt5ykg
 yLkzw106YSN8ZtaMhOfkQvh5C/6MWVu6aZYfJOyVKXXuiZ4YOvgDy/+1W4j4GhRjQkkQ4PjjRgmhj
 qNGcET3CjnrvUTcxbB03Ap2WU1VrlCXsv1CTPIqgzRb1YOw5zvF7x16zL5hm+3VJ+DGu5NS8btv/w
 CiwSVoU1t0mWQhqBSISP+lWguYVaY/PkR0tFn8Q51d8VUtU1Wi5wICrrcu97OqKTsYwccweR9TyVi
 EVE9njFtD8Gjmthr4RPA==;
Received: from ams by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <ams@HIDDEN>) id 1ql77d-0004z6-EE
 for bug-gnu-emacs@HIDDEN; Tue, 26 Sep 2023 08:25:01 -0400
From: "Alfred M. Szmidt" <ams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; C-x v v and vc-diff with fossil-scm
Message-Id: <E1ql77d-0004z6-EE@HIDDEN>
Date: Tue, 26 Sep 2023 08:25:01 -0400
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)


When trying to use C-x v v in a vc-diff buffer, and when the version
control system is Fossil (this is using GNU patch):

Checking in foo...
user-error: Patch failed: can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: foo
|==================================================================
|--- foo
|+++ foo
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored


To reproduce, make a empty Fossil repostiroy, add and commit a file,
add a line, C-x v =, C-x v v.  vc-fossil has to be installed.


In GNU Emacs 30.0.50 (build 3, x86_64-unknown-openbsd7.3, GTK+ Version
 3.24.37, cairo version 1.17.8) of 2023-09-25 built on
 nitrogenium.mendeleev
Repository revision: df5a9a78b51f2f42d2dbb010e811a239fc014732
Repository branch: master
System Description: OpenBSD nitrogenium.mendeleev 7.3 GENERIC.MP#3 amd64

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2
LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY KQUEUE PDUMPER PNG RSVG THREADS
TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  locale-coding-system: nil

Major mode: Fundamental

Minor modes in effect:
  global-company-mode: t
  company-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
~/vc-backup hides /home/ams/.emacs.d/elpa/vc-backup-1.1.0/vc-backup
~/loaddefs hides /home/ams/emacs/lisp/loaddefs

Features:
(shadow emacsbug message yank-media puny dired dired-loaddefs rfc822
mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader vc-fossil
vc vc-dispatcher term/screen term/xterm xterm rcirc parse-time iso8601
time-date mail-queue sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils slime-asdf grep slime-quicklisp slime-fancy
slime-indentation slime-cl-indent cl-indent slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree slime-scratch slime-presentations advice
bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context
slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl elp slime-parse slime
derived cl-extra help-mode easy-mmode gud apropos compile
text-property-search arc-mode archive-mode noutline outline icons pp
comint ansi-osc ansi-color hyperspec thingatpt slime-autoloads
company-oddmuse company-keywords company-etags etags fileloop
generator xref project ring company-gtags company-dabbrev-code
company-dabbrev company-files company-capf company-cmake company-xcode
company-clang company-semantic company-eclim company-template
company-bbdb company edmacro kmacro pcase cal-menu calendar
cal-loaddefs autoload loaddefs-gen radix-tree lisp-mnt finder-inf
disp-table vc-backup-autoloads package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple
cl-generic indonesian philippine cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads
dbusbind kqueue lcms2 dynamic-setting system-font-setting
font-render-setting cairo gtk x-toolkit xinput2 x multi-tty
move-toolbar make-network-process emacs)

Memory information:
((conses 16 214273 12959) (symbols 48 16544 0) (strings 32 53834 633)
 (string-bytes 1 1487984) (vectors 16 21835)
 (vector-slots 8 257553 8908) (floats 8 63 323) (intervals 56 279 0)
 (buffers 984 11))




Acknowledgement sent to "Alfred M. Szmidt" <ams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#66212; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 14 Mar 2025 04:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.