GNU bug report logs - #50344
C-x v keybinding for vc-print-branch-log

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Thu, 2 Sep 2021 18:46:01 UTC

Severity: wishlist

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #166 received at 50344 <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Juri Linkov <juri <at> linkov.net>
Cc: 50344 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>,
 Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#50344: C-x v keybinding for vc-print-branch-log
Date: Thu, 07 Oct 2021 15:46:47 +0300
Thanks, two very minor doc comments:

> +;;;###autoload
> +(defun vc-retrieve-tag (dir name &optional branchp)
>    "For each file in or below DIR, retrieve their tagged version NAME.
>  NAME can name a branch, in which case this command will switch to the
>  named branch in the directory DIR.
> @@ -2375,15 +2413,21 @@ vc-retrieve-tag
>               (read-directory-name "Directory: " default-directory nil t))))
>       (list
>        dir
> -      (vc-read-revision (format-prompt "Tag name to retrieve" "latest revisions")
> +      (vc-read-revision (format-prompt
> +                         (if current-prefix-arg
> +                             "Branch name to retrieve"
> +                           "Tag name to retrieve")
> +                         "latest revisions")

Mention prefix arg in the docstring?

> +(defun vc-switch-branch (dir name)
> +  "Switch to the branch NAME in the directory DIR.
> +If NAME is empty, it refers to the latest revisions of the current branch.
> +Uses `vc-retrieve-tag' with the non-nil arg `branchp'."

"latest revision" instead of plural?

Filipp.




This bug report was last modified 2 years and 312 days ago.

Previous Next


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