Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Exporting remote Bazaar branch creates unnecessary clone #5443
When creating an export of a remote Bazaar branch, pip currently will create a local clone of the branch, and then create an export from there.
This is unnecessary, as Bazaar supports directly exporting from a remote branch location - and this is significantly faster than first cloning, then exporting.
referenced a pull request that will
Jun 23, 2018
@matador86 if only fetch some of the history ('git clone --depth X') then git won't automatically pull in history that's missing from remote branches. For example, 'git log' would only go X revisions back rather than to the beginning of history.
This discussion probably belongs on the pull request for git though, rather than this one (which is specific to bzr).