Skip to content

Repo dir duplicated #92

@jlom-odoo

Description

@jlom-odoo

Criticality

Low

What happened?

odev setup

[?] Where do you want to store repositories? /Users/jlom/odoo/dev

Context

  • My current working directory is /Users/jlom/odoo/dev
  • I have the Odoo repo for the Owl tutorial in /Users/jlom/odoo/dev/tutorials

Steps to reproduce the issue

  1. odev create --worktree 18.0 18.0-owl
  2. odev ls
Image
  1. odev code 18.0-owl
[i] Created VSCode config for project 'dev/tutorials'                                                          editor_vscode.py:79
    • Workspace: /Users/jlom/odoo/dev/dev/tutorials/.vscode/18.0-owl.code-workspace                                               
    • Debugging: /Users/jlom/odoo/dev/dev/tutorials/.vscode/launch.json                                                           
    • Tasks: /Users/jlom/odoo/dev/dev/tutorials/.vscode/tasks.json                                                                
[i] Opening project 'dev/tutorials' in VSCode                                                                         editor.py:82
[!] Local repository /Users/jlom/odoo/dev/dev/tutorials does not exist, opening the editor may fail

As shown above, even though I have my repo inside my path for repos in the odev setup, another dev dir is created inside the existing dev dir.

Relevant log output

What is expected?

[i] Created VSCode config for project 'dev/tutorials'                                                          editor_vscode.py:79
    • Workspace: /Users/jlom/odoo/dev/tutorials/.vscode/18.0-owl.code-workspace                                               
    • Debugging: /Users/jlom/odoo/dev/tutorials/.vscode/launch.json                                                           
    • Tasks: /Users/jlom/odoo/dev/tutorials/.vscode/tasks.json                                                                
[i] Opening project 'tutorials' in VSCode                                                                         editor.py:82

Possible implementation

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions