Opened 5 years ago

Closed 5 years ago

#1808 closed defect (fixed)

ensure_dependencies.py generates wrong repository path for local roots

Reported by: trev Assignee: trev
Priority: P2 Milestone:
Module: Automation Keywords:
Cc: Blocked By:
Blocking: Platform: Unknown
Ready: yes Confidential: no
Tester: Verified working:
Review URL(s):

http://codereview.adblockplus.org/5135047623442432/

Description

How to reproduce

  1. Use a file path as root for your repositories in dependencies file, e.g.: _root = hg:/foo/bar
  2. Add a dependency to dependencies file, e.g.: xyz = hg:12345
  3. Run ensure_dependencies.py

Observed behaviour

Cloning fails with the message "repository /foo/xyz not found" (repository path generated via urlparse.urljoin()).

Expected behaviour

Repository is cloned from /foo/bar/xyz (file path joining is used).

Change History (2)

comment:1 Changed 5 years ago by trev

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 5 years ago by trev

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.