- Jun 13, 2021
-
-
Dan Villiom Podlaski Christiansen authored
Specifically: * "git push --quiet --set-upstream" was not quiet when setting the upstream branch configuration, which has been corrected.
-
- May 21, 2021
-
-
Dan Villiom Podlaski Christiansen authored
This was broken under Python 3.
-
- May 10, 2021
-
-
Dan Villiom Podlaski Christiansen authored
Git allows two kinds of tags: annotated and plain. Plain tags are simple refs pointing to a commit, and annotated tags point to a Tag object then pointing to the commit. The code previously assumed that all exported tags where plain tags, which would overwrite annotated tags. We recently fixed this, in cc4f3340afc9, when exporting tags from Mercurial to Git; this applies the same fix during Git discovery. Fixes #358
-
Dan Villiom Podlaski Christiansen authored
This is mostly based on a script provided by @jmb in #358.
-
- May 05, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
- Feb 22, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
- Feb 05, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
- Feb 06, 2021
-
-
Dan Villiom Podlaski Christiansen authored
This avoids clobbering the `git` extension, bundled with Mercurial.
-
- Feb 02, 2021
-
-
Dan Villiom Podlaski Christiansen authored
This should both be more reliable and thorough.
-
- Dec 10, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
...and while at it, don't rely on an implementation detail; rather than just creating the directory, do a proper export
-
- Jan 29, 2021
-
-
Dan Villiom Podlaski Christiansen authored
The Git documentation clearly states that slash is the only valid directory separator in a .gitignore file, but its implementation disagrees. Although lines starting with a \ may in fact be an escaped exclamation mark, this is at least an improvement.
-
- Jan 28, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
Something like file://c:/path specifies a remote location, I believe. At least that's the error we get.
-
- Feb 01, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
Oddly, this can cause Mercurial to detect the output as a TTY and colorise it, possibly due to some weird interaction with MSYS.
-
- Jan 28, 2021
-
-
Dan Villiom Podlaski Christiansen authored
When a clone aborts, Dulwich may retain some open pack file handles, preventing the files from being deleted on Windows. Properly speaking, this is a bug in either Dulwich or hg-git.
-
Dan Villiom Podlaski Christiansen authored
This is quite common on Windows.
-
Dan Villiom Podlaski Christiansen authored
-
- Dec 28, 2020
-
-
Dan Villiom Podlaski Christiansen authored
-
- Jan 31, 2021
-
-
Dan Villiom Podlaski Christiansen authored
They offer useful information about what the test is doing, and slow down the test ever so slightly with no benefit whatsoever.
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
Mercurial 5.7 changed the behaviour such that an activated bookmark during a clone lead to that being the update target. As far as I can tell, the code in hg-git always seemed to assume that this was the behaviour, but it wasn't. See <https://phab.mercurial-scm.org/D9638>.
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
Mercurial 5.7 changed the default update target. This removes it as an implicit assumption from some tests that don't actually rely on it.
-
Dan Villiom Podlaski Christiansen authored
Normally, you can't push to the currently checked out branch in a non-bare (covered? sheathed? clothed?) repository. Previously, some tests used a separate branch called not-master for that. As that affects what gets checked out in Mercurial 5.7, use a bare repository instead. Cloning such a repository is much more representative of common Git usage anyway.
-
- Sep 03, 2019
-
-
Georges Racinet authored
In some situations we code the plain auth-less uri in the hgrc paths section (for convenience) and want to use a centrally-stored credentials file. Though it is possible to use the hgrc [auth] section, it would be also nice to access .git-credentials (still usefull for git direct access), avoiding double maintenance of credentials. This probably does not cover all possible situations with git credentials handling but it provides a working base. closes #305
-
- Jan 11, 2021
-
-
Dan Villiom Podlaski Christiansen authored
hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name>
-
Dan Villiom Podlaski Christiansen authored
-
- Nov 23, 2020
-
-
Dan Villiom Podlaski Christiansen authored
Fixes #325.
-
- Jan 08, 2021
-
-
Dan Villiom Podlaski Christiansen authored
This fixes converting commits that build on obsoleted changesets.
-
Dan Villiom Podlaski Christiansen authored
-
- Dec 13, 2020
-
-
Dan Villiom Podlaski Christiansen authored
fixes #193
-
- Dec 23, 2020
-
-
Dan Villiom Podlaski Christiansen authored
GitLab and GitHub output something like this for the SSH location: git@github.com:hg-git/hg-git.github.com.git Previously, cloning and pulling from them on Windows didn't work, as the path was reinterpreted as a local path, made absolute and then saved into `.hgrc`. The same happened on pull, even if you corrected the definition. I've adjust `test-networking.t` to use this type of path instead of the `git+ssh://` scheme, as it's more likely to break. Fixes #335.
-
- Jan 08, 2021
-
-
Dan Villiom Podlaski Christiansen authored
-