开发者

How to export a sub-directory from a bzr branch?

开发者 https://www.devze.com 2023-01-23 23:46 出处:网络
Bazaar User Reference export section contains: Purpose: Export current or past revision to a destination directory or archive.

Bazaar User Reference export section contains:

Purpose: Export current or past revision to a destination directory or archive.
Usage:   bzr export DEST [BRANCH_OR_S开发者_Go百科UBDIR]

This command:

bzr export --format=dir . lp:stevedore

Creates the entire tree from the lp:stevedore branch without the .bzr directory.

Can export be used to export just the src/server sub-directory from branch lp:stevedore?

bzr export --format=dir . lp:stevedore/src/server

Produces:

bzr: ERROR: Permission denied: "Cannot create 'src'. Only Bazaar branches are allowed."


This works when exporting a directory from a local branch. I was able to reproduce this and it seems to be a bug: https://bugs.launchpad.net/bzr/+bug/403857

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号