Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Export non-git VCS correctly #161

Merged
merged 3 commits into from
Jan 26, 2017
Merged

Export non-git VCS correctly #161

merged 3 commits into from
Jan 26, 2017

Conversation

sdboyer
Copy link
Owner

@sdboyer sdboyer commented Jan 26, 2017

As raised in golang/dep#144, we weren't handling exports of bzr or hg repos correctly.

The main fix here is avoiding creating an empty directory for the
destination, as copyDir() doesn't like that. Instead, we create only
up to the parent dir.

The other bit is ensuring the source repos exist in the cache before
attempting to export them, for both bzr and hg.

Addresses golang/dep#144
@sdboyer sdboyer added the bug label Jan 26, 2017
@sdboyer sdboyer merged commit de17adc into master Jan 26, 2017
@sdboyer sdboyer deleted the export-other-vcs branch April 5, 2017 18:33
krisnova pushed a commit to krisnova/dep that referenced this pull request Apr 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant