> On Apr 7, 2023, at 1:56 PM, Marcos Cruz
> wrote:
>
> Faheem Mitha escribió/skribis/wrote/scrit (2023-04-07T22:18:48+0530):
>
>> Yes, normally metaedit is intended to edit the existing commit message.
>> Hence it's natural to open an editor. What's the problem with that?
>
> I'm converting
On 4/7/23 20:32, Anton Shestakov wrote:
Yeah, I think metaedit was created as an ad-hoc solution to edit
commit messages, and then grew some flags for user and date, and even
--fold for some reason. Internally it can prevent editor from opening
(e.g. when -m or -l is present), but there's no
Aurélien Campéas escribió/skribis/wrote/scrit (2023-04-08T13:07:10+0200):
> How about "hg amend -u ..." ? IIRC it doesnt prompt for a commit message
> (unless -e is there).
You are right. But it fixes the parent of the working directory, not a
specific revision.
I have done a test: a shell
Le 07/04/2023 à 16:09, Marcos Cruz a écrit :
Evolve's `metaedit --user` and `metaedit --date` always open the commit
message in order to edit it. There's no way to prevent it? >
How about "hg amend -u ..." ? IIRC it doesnt prompt for a commit
message (unless -e is there).
Faheem Mitha escribió/skribis/wrote/scrit (2023-04-08T11:43:46+0530):
> On Fri, 7 Apr 2023, Anton Shestakov wrote:
> > Anyway, to disable editor try `HGEDITOR=true hg metaedit ...`.
>
> That works for me. But where is this documented?
It has nothing to do with Mercurial or Evolve, if you mean
Anton Shestakov escribió/skribis/wrote/scrit (2023-04-07T15:32:55-0300):
> I think metaedit was created as an ad-hoc solution to edit commit
> messages, and then grew some flags for user and date, and even --foldi
> It's not a very well-designed command IMO.
In fact, when you change the user or
Hi Anton Shestakov,
On Fri, 7 Apr 2023, Anton Shestakov wrote:
Yeah, I think metaedit was created as an ad-hoc solution to edit commit
messages, and then grew some flags for user and date, and even --fold for
some reason. Internally it can prevent editor from opening (e.g. when -m or
-l is
Hi Marcos,
On Fri, 7 Apr 2023, Marcos Cruz wrote:
Faheem Mitha escribió/skribis/wrote/scrit (2023-04-07T23:39:45+0530):
If you just want to change the user or date of the commit, there are
separate flags for that. Namely, -u, -U, -d, and -D.
Have you not looked at the help? See below.
Yeah, I think metaedit was created as an ad-hoc solution to edit commit
messages, and then grew some flags for user and date, and even --fold
for some reason. Internally it can prevent editor from opening (e.g.
when -m or -l is present), but there's no way to do it from CLI. It's
not a very
Faheem Mitha escribió/skribis/wrote/scrit (2023-04-07T23:39:45+0530):
> If you just want to change the user or date of the commit, there are
> separate flags for that. Namely, -u, -U, -d, and -D.
>
> Have you not looked at the help? See below.
Yes, I had read the help and tried all options.
>
Hi Marco,
See below.
On Fri, 7 Apr 2023, Marcos Cruz wrote:
Faheem Mitha escribió/skribis/wrote/scrit (2023-04-07T22:18:48+0530):
Yes, normally metaedit is intended to edit the existing commit message.
Hence it's natural to open an editor. What's the problem with that?
I'm converting my
Faheem Mitha escribió/skribis/wrote/scrit (2023-04-07T22:18:48+0530):
> Yes, normally metaedit is intended to edit the existing commit message.
> Hence it's natural to open an editor. What's the problem with that?
I'm converting my last Fossil repos to Mercurial.
The other day I had to fix the
Hi Marcos,
On Fri, 7 Apr 2023, Marcos Cruz wrote:
Evolve's `metaedit --user` and `metaedit --date` always open the commit
message in order to edit it. There's no way to prevent it?
Yes, normally metaedit is intended to edit the existing commit message.
Hence it's natural to open an
Evolve's `metaedit --user` and `metaedit --date` always open the commit
message in order to edit it. There's no way to prevent it?
--
Marcos Cruz
http://programandala.net
___
Evolve-testers mailing list
evolve-test...@lists.mercurial-scm.org
14 matches
Mail list logo