Skip to content
Snippets Groups Projects
Commit 9d376aba authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

core: don't set remote tags for alias urls

parent 7d4e0b41
No related branches found
No related tags found
1 merge request!124Adjust initial clone and push behaviour
......@@ -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
......
......@@ -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:47580592d3d6
default/master 1:47580592d3d6
default/not-master 0:ff7a2f2d8d70
git/master 1:47580592d3d6
bare/master 1:47580592d3d6
git/not-master 0:ff7a2f2d8d70
bare/not-master 0:ff7a2f2d8d70
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment