You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I successfully installed your git-repo for Windows.
Then init repo with manifest and synced my projects.
When trying to create a new branch with:
$ repo start branch_name project_name
I have an error: project project_name not found.
But command:
$ repo start branch_name --all
works fine.
Why doesn't repo tool see my projects?
The text was updated successfully, but these errors were encountered:
panidarynka
changed the title
Error: project not found when try to create branch in specified project
Error: project not found when try to create new branch in specified project
Jun 22, 2017
in .repo/repo/command.py update the following functions to add backslash substitution:
def _ResetPathToProjectMap(self, projects):
self._by_path = dict((p.worktree.replace('\\', '/'), p) for p in projects)
def _UpdatePathToProjectMap(self, project):
self._by_path[project.worktree.replace('\\', '/')] = project
This is needed because rather inconsistently the manifest has the backslashes substituted already in the original version so when the project name is compared with the manifest it fails.
I wonder if someone maintaining this GIT could fix this for everyone?
Hello,
I successfully installed your git-repo for Windows.
Then init repo with manifest and synced my projects.
When trying to create a new branch with:
$ repo start branch_name project_name
I have an error: project project_name not found.
But command:
$ repo start branch_name --all
works fine.
Why doesn't repo tool see my projects?
The text was updated successfully, but these errors were encountered: