Re: Some Questions about hgweb

2025-06-24 Thread Marcos Cruz
rc> is not shared, i.e. not pushed or pulled, because it is your personal configuration of your copy of the repo, which includes personal settings and preferences. It makes sense. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercu

Re: Copy commit message when merging

2025-06-24 Thread Marcos Cruz
> Illegal variable name. It does not seem the reason of that error, but the template keyword to get the commit description is `{desc}`, not `{description}`. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Re: Viability of Mercurial as an alternative to Git in 2024?

2024-07-20 Thread Marcos Cruz
Dr. Arne Babenhauserheide via Mercurial escribió/skribis/wrote/scrit (2024-07-20T15:26:51+0200): > I use evolve, but not topics, and I wished, they would just be merged > into Mercurial proper. > The same goes for hg-git I agree! -- Marcos Cruz http://programa

Re: Any way to prevent Evolve's `metaedit` from opening the message?

2023-04-07 Thread Marcos Cruz
t choose not to edit the message, when you just want to change the date or the user. As I explain in the Evolve list with more detail, I had to fix the user of 287 commits. I wrote a shell loop to do the task in one single step, but it was useless: instead, I had to close the Neovim editor 287

Re: Sharing .hg-data between repos

2023-04-07 Thread Marcos Cruz
ktree work a kind like this. Maybe the "share" extension is what you need. Add the following to you config file: ``` [extensions] share = ``` Then `hg help share`. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@l

Any way to prevent Evolve's `metaedit` from opening the message?

2023-04-07 Thread Marcos Cruz
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 ___ Mercurial mailing list Mercurial@lists.mercurial-scm

Re: How-to diff across a renaming?

2023-02-04 Thread Marcos Cruz
m_tmp" "$to_tmp" > ``` > hg crossdiff 0 eggfile 2 chickenfile Good idea, thank you. I'll write it as an external script and will add an additional parameter to select the diff tool. > It might not work if you're on Windows I use Debian, no problem. -- M

How-to diff across a renaming?

2023-01-08 Thread Marcos Cruz
And tried this, which works fine (it displays the changes from OLDFILE to NEWFILE): hg diff --git --from R0 --to R2 NEWFILE But it seems there's no way to do it with other diff tools, right? `hg help diffs` and `hg help.config.diff` say nothing about this. Thanks. -- M

Any suggestion for a shared hosting?

2023-01-01 Thread Marcos Cruz
I'm searching alternatives to my current hosting provider. Does anybody know or use a shared hosting provider with a recent version of Mercurial on the server? I mean, just to be able to install hgweb and host current-format repos. Thanks. -- Marcos Cruz http://programandal

Re: Is it possible to know the modification date of a commited file?

2022-12-19 Thread Marcos Cruz
27;t. That's what I suspected. Thank you for all the detailed information. It will be useful. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Is it possible to know the modification date of a commited file?

2022-12-16 Thread Marcos Cruz
that information preserved in the changesets? If so, is there any way to get it? Thanks. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Any way to document a shell alias?

2022-12-14 Thread Marcos Cruz
ption and usage instructions to the help system? I guess the only way is to write a Python wrapper to call the shell script, simulating an actual extension. Has anybody done it and would like to share an example? -- Marcos Cruz http://programandala.net ___ Me

Heptapod hosting (Re: Any experience with SourceHut?)

2022-12-06 Thread Marcos Cruz
x27;s the reason I don't use it. The comercial alternative heptapod.host is a good option, but its pricing doesn't fit such simple needs either. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm

Re: Any experience with SourceHut?

2022-12-06 Thread Marcos Cruz
I didn't know that. It's a bit shocking. Of course, as creator and owner of the project, he can put whatever conditions he wants. That said, his arguments are debatable and could apply to other subjects as well, not just blockchain and criptocurrencies. -- Marcos

Re: Error cloning a Mercurial repo from the web, caused by hg-git

2022-12-06 Thread Marcos Cruz
ng the first tries. Next time I will use its list, which I just subscribed, and my Heptapod account. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Re: Fossil-like aliases

2022-12-02 Thread Marcos Cruz
One more: ``` [alias] remote = paths ``` As always, it's not fully equivalent, because Fossil's `remote` has subcommands to add, delete or deactivate the URLs, but it helps. -- Marcos Cruz http://programandala.net ___ Mercurial ma

Error cloning a Mercurial repo from the web, caused by hg-git

2022-12-01 Thread Marcos Cruz
149, in get_repo_and_gitdir if repo.shared(): File "/usr/local/lib/python3.10/site-packages/mercurial/localrepo.py", line 2231, in shared if self.sharedpath != self.path: AttributeError: 'statichttprepository' object has no attri

Re: Any experience with SourceHut?

2022-11-23 Thread Marcos Cruz
Links2 and Lynx. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Any experience with SourceHut?

2022-11-15 Thread Marcos Cruz
ha-details/) make me think the most important tasks work fine. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

How to make current Mercurial run in an outdated shared server?

2022-11-15 Thread Marcos Cruz
yet. I'm not a Python or Rust programmer, so I'm a bit lost in all this, just learning by doing. Has anybody succeeded in compiling Oxidized Mercurial? Is there a way to force PyOxidizer to use an older version of glibc? Is there any other approach to make a modern Mercurial run i

Fossil-like aliases

2022-11-05 Thread Marcos Cruz
d "ui" very handy when I do. I find "changes" and "extras" very useful, I use them a lot instead of the generic "status". -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Re: ISO Date Format as Default?

2022-09-12 Thread Marcos Cruz
hg help templates` and `hg help config.alias`. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Re: pull -u with check

2022-07-24 Thread Marcos Cruz
<.hgrc>, say "pulluc": [alias] pulluc = !hg pull;hg update -c Note shell aliases start with a "!". Then `hg pulluc` will do what you need. Hope this helps. -- Marcos Cruz http://programandala.net ___ Mercurial maili

Re: Avoid "warning: filename contains '"', which is reserved on Windows"?

2022-07-17 Thread Marcos Cruz
Pierre-Yves David escribió/skribis/wrote/scrit (2022-07-17T22:56:37+0200): >   hg help config.ui.portablefilenames Thanks! Somehow I missed that in the docs. -- Marcos Cruz http://programandala.net ___ Mercurial mailing list Mercurial@lists.mercur

Avoid "warning: filename contains '"', which is reserved on Windows"?

2022-07-17 Thread Marcos Cruz
Is there any way to prevent the message "warning: filename contains '"', which is reserved on Windows" from been displayed by `hg add`? `hg add --quiet` makes no difference. Thanks. -- Marcos Cruz http://programandala.net _

Re: Advice to update Mercurial in a shared hosting?

2022-07-14 Thread Marcos Cruz
plan to a VPS. A simpler publishing option, which I already had considered, is making the plain repositories available and update their <.hg> directories via FTP. I already have written a Mercurial's shell alias called "mirror" for that. Anyone

Advice to update Mercurial in a shared hosting?

2022-07-11 Thread Marcos Cruz
``` Could it be an incompatibility between Python 3.4.3 and 3.7.3? I'm not a Python programmer, I'm just guessing. I've found some instructions to update Python on a shared hosting and they seem quite simple, but I prefer to ask for some advice first. What do you recommend?