all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-devel@gnu.org
Subject: Re: proposal: vc-print-log and vc-print-root-log include phases for hg
Date: Thu, 27 Oct 2022 19:35:43 +0200	[thread overview]
Message-ID: <878rl1dv9s.fsf@mat.ucm.es> (raw)
In-Reply-To: bf2a4f30-0019-4c52-7c73-3aa5832054ff@yandex.ru

[-- Attachment #1: Type: text/plain, Size: 2674 bytes --]

>>> "DG" == Dmitry Gutov <dgutov@yandex.ru> writes:

> Hi!
> On 26.10.2022 15:26, Uwe Brauer wrote:

>> Phases in mercurial allow you to detect if a commit has been pushed
>> (phase: public) or not (phase: draft (or even secret))
>> Could that information included in
>> vc-print-log and vc-print-root-log include phases for hg?

> Are you able to add them through `vc-hg-log-switches`?

Well not really, but it might be my fault for not understanding its syntax.


From the command line it would be 

 hg log -G --template "phases"

For example

So I thought 
the setting 

"--template \"phases\""


Would do, using the string syntax but it does not work
so I used a list 

 ("--template \"phases\"")

Then I obtain

,----
| hg log: option --template "phases" not recognized
| hg log [OPTION]... [FILE]
| 
| show revision history of entire repository or files
| 
| options ([+] can be repeated):
| 
|  -f --follow              follow changeset history, or file history across
|                           copies and renames
|  -d --date DATE           show revisions matching date spec
|  -C --copies              show copied files
|  -k --keyword TEXT [+]    do case-insensitive search for a given text
|  -r --rev REV [+]         show the specified revision or revset
|     --removed             include revisions where files were removed
|  -u --user USER [+]       revisions committed by user
|  -b --branch BRANCH [+]   show changesets within the given named branch
|  -P --prune REV [+]       do not display revision or any of its ancestors
|  -p --patch               show patch
|  -g --git                 use git extended diff format
|  -l --limit NUM           limit number of changes displayed
|  -M --no-merges           do not show merges
|     --stat                output diffstat-style summary of changes
|  -G --graph               show the revision DAG
|  -T --template TEMPLATE   display with template
|  -I --include PATTERN [+] include names matching the given patterns
|  -X --exclude PATTERN [+] exclude names matching the given patterns
|     --mq                  operate on patch repository
| 
| (use 'hg log -h' to show more help)
`----

That seems absurd since I just run that command from the command line,


I am puzzled.


-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2022-10-27 17:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 12:26 proposal: vc-print-log and vc-print-root-log include phases for hg Uwe Brauer
2022-10-27  8:35 ` Dmitry Gutov
2022-10-27 17:35   ` Uwe Brauer [this message]
2022-10-27 17:55     ` Robert Pluim
2022-10-27 18:19       ` Uwe Brauer
2022-10-27 18:05     ` Dmitry Gutov
2022-10-27 18:20       ` Uwe Brauer
2022-10-27 18:42       ` Uwe Brauer
2022-10-27 17:42   ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rl1dv9s.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.