This question already has answers here:
How do I have more than one workspace with Mercurial (hg)?
(3 answers)
Closed 7 years ago.
The new worktree command in git allows you to have multiple working trees attached to the same repository. Hence allowing you to check out more than one branch at a time.
This saves you from needing multiple local repositories that you have to push or pull between.
Does mercurial (hg) support something similar yet?
Share Extension, distributed with Mercurial 1.3 and later
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 days ago.
Improve this question
For a some time now I'm thinking about a way to setup a continuous delivery pipeline and don't seem to get my head around it.
I want to auto-create a Github release with a corresponding tag. Plus I want to update the version in a file inside the repo (/docs/antora.yml). The version in the antora.yml should be the same as the tag which I want to create.
Since the source of truth always is the main branch on Github I only want to create tags in the remote repo. Tagging locally and pushing the tag to the remote repo is not an options! Ideally I would like a successful Pull Request to be the trigger. But (as far as I understand) then I always have to create a branch. Plus I don't want every PR into main to create a new release and tag. I want to handpick the PRs.
One way to achieve this would be to create a dedicated release/v1.2.3 branch, run everything from there and auto-create a tag and release. Then a release pipeline could listen to the tag-creation and do the actual e.g. deployment to DockerHub.
What I don't like about this is, that I need a release-branch which kind of moves me further away from working trunk-based. And I need two pipelines: a CD-pipeline which would only handle organizational stuff and a release-pipeline which does the technical deployments.
I would prefer to do everything in a single CD pipeline based on the main branch.
Now I'm very interested in your opinions. Are my thoughts valid or is this some kind of anti-pattern? Do you know some best practices? Maybe someone has an example implementation? I think I can handle writing the actual pipeline code. I'm just not sure how to organize my process. By the way: I already have a CI pipeline working. So to me CD is the logical next step
This question already has answers here:
Use 'Chrome Native Messaging' from Sublime Text plugin
(1 answer)
Start an external application from a Google Chrome Extension?
(4 answers)
Closed 6 years ago.
I'm just getting started with Chrome extensions and I was wondering if this is feasible.
I'll often navigate to a local HTML file and open it up for viewing in Chrome. I'd like to be able to click an extension's icon to automatically take that local file URL and open up the file in a text editor installed on my computer (like Sublime Text for example).
As some commenters have pointed out, a duplicate question was asked 6 years ago. The accepted answer is deprecated today, but a more up-to-date answer (3 years ago) cites the native messaging API as a possible solution.
I'm hoping someone with a great understanding of it can tell me whether or not my end goal here is possible using this tech.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Can you use mercurial patch queues with BitBucket after it has got it's new design?
Before you could press on the "Patch queue" link in a repository to create a patch queue, but that link seems to be gone now. Am I missing something?
I am using mercurial to manage a set of patches I need to run some software on my own machines, in short the method outlined here. I've been using this method for some time and I've also wondered if there's an easier way to do it with git?
It seems that patch queues are treated as forks in Bitbucket now. To create a patch queue click on the Fork button then click on the create a patch queue link on the top right of the fork page.
You can then administer the patch queue by clicking on the Fork link on the Overview page and managing it as you would any other repository.
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Full complete MySQL database replication? Ideas? What do people do?
Yo,
I got some data spread out on various servers (dont ask, it just have to be that way) and i really want them all in a master - slave relation so that i can update through one server but they are all on shared VPS webhosts.
So, is there a ninja way of doing this?
The real ninja way is to read replication documentation
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
What are the advantages of installing programs in AppData like Google Chrome?
It will install itself somewhere in %HOMEPATH%. Why not in %PROGRAMFILES%?
I've always assumed this is to avoid forcing the user to have administrative privileges.
I guess the most important reason is roaming. So if you logon to another computer in the same domain, you can have it there too (although roaming is not enabled in every domain).