GNU bug report logs - #38216
[PATCH] vc-hg: don't pass empty string to 'update' command

Previous Next

Package: emacs;

Reported by: Andrii Kolomoiets <andreyk.mad <at> gmail.com>

Date: Fri, 15 Nov 2019 07:52:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
To: 38216 <at> debbugs.gnu.org
Subject: bug#38216: [PATCH] vc-hg: don't pass empty string to 'update' command
Date: Fri, 15 Nov 2019 09:51:12 +0200
[Message part 1 (text/plain, inline)]
Hello,

Passing empty string to 'update' command leads to error starting from
mercurial 4.6.

mercurial 4.5.3:
  hg up ""
  0 files updated, 0 files merged, 0 files removed, 0 files unresolved

mercurial 4.6:
  hg up ""
  abort: 00changelog.i@: ambiguous identifier!

Empty revision name is used in vc-retrieve-tag to update to the latest
revision but let's pass nil instead of empty string to 'hg update'.

[0001-lisp-vc-vc-hg.el-Don-t-pass-empty-string-to-hg-updat.patch (application/octet-stream, attachment)]

This bug report was last modified 5 years and 193 days ago.

Previous Next


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