Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote alias breaks 'manifest -r' #181

Open
GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments
Open

remote alias breaks 'manifest -r' #181

GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Affected Version:1.12.16
Environment:Ubuntu Linux

What steps will reproduce the problem?
1. Give two different remotes the same alias 'origin'
2. run 'repo manifest -r'

What is the expected output? What do you see instead?
The project element has a remote of "origin" which is the remote's alias.  I 
expected it to output the remote's name (which is guaranteed to be unique).  
Because there are two remotes with the same alias, the output of 'repo manifest 
-r' is incorrect.


Please provide any additional information below.

If you remove lines 102 and 103 from manifest_xml.py then everything works as 
expected.  I am unsure about what else that might affect though.

In manifest_xml.py in def ToRemoteSpec:
102     if self.remoteAlias:
103       remoteName = self.remoteAlias

Original issue reported on code.google.com by [email protected] on 9 Sep 2014 at 5:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant