Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
hg-git
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
hg-git
Commits
9d376aba
Commit
9d376aba
authored
3 years ago
by
Dan Villiom Podlaski Christiansen
Browse files
Options
Downloads
Patches
Plain Diff
core: don't set remote tags for alias urls
parent
7d4e0b41
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!124
Adjust initial clone and push behaviour
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hggit/git_handler.py
+3
-0
3 additions, 0 deletions
hggit/git_handler.py
tests/test-multiple-remotes.t
+8
-4
8 additions, 4 deletions
tests/test-multiple-remotes.t
with
11 additions
and
4 deletions
hggit/git_handler.py
+
3
−
0
View file @
9d376aba
...
...
@@ -1891,6 +1891,9 @@
paths
=
[
paths
]
for
path
in
paths
:
# ignore aliases
if
hasattr
(
path
,
'
raw_url
'
)
and
path
.
raw_url
.
scheme
==
b
'
path
'
:
continue
if
push
and
path
.
pushloc
==
remote
or
path
.
loc
==
remote
:
return
name
...
...
This diff is collapsed.
Click to expand it.
tests/test-multiple-remotes.t
+
8
−
4
View file @
9d376aba
...
...
@@ -36,8 +36,10 @@
no
changes
found
$
hg
tags
tip
0
:
ff7a2f2d8d70
default
/
not
-
master
0
:
ff7a2f2d8d70
default
/
master
0
:
ff7a2f2d8d70
git
/
not
-
master
0
:
ff7a2f2d8d70
git
/
master
0
:
ff7a2f2d8d70
bare
/
not
-
master
0
:
ff7a2f2d8d70
bare
/
master
0
:
ff7a2f2d8d70
$
hg
up
master
1
files
updated
,
0
files
merged
,
0
files
removed
,
0
files
unresolved
...
...
@@ -58,6 +60,8 @@
$
hg
tags
tip
1
:
47580592
d3d6
default
/
master
1
:
47580592
d3d6
default
/
not
-
master
0
:
ff7a2f2d8d70
git
/
master
1
:
47580592
d3d6
bare
/
master
1
:
47580592
d3d6
git
/
not
-
master
0
:
ff7a2f2d8d70
bare
/
not
-
master
0
:
ff7a2f2d8d70
This diff is collapsed.
Click to expand it.
Georges Racinet
@gracinet
mentioned in merge request
!146 (merged)
·
3 years ago
mentioned in merge request
!146 (merged)
mentioned in merge request !146
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment