如何从 bzr 分支导出子目录?
Purpose: Export current or past revision to a destination directory or archive.
Usage: bzr export DEST [BRANCH_OR_SUBDIR]
此命令:
bzr export --format=dir . lp:stevedore
从 lp:stevedore
分支创建整个树,不包含 .bzr
目录。
export
能否用于仅从分支 lp:stevedore
导出 src/server
子目录?
bzr export --format=dir . lp:stevedore/src/server
生产:
bzr: ERROR: Permission denied: "Cannot create 'src'. Only Bazaar branches are allowed."
Bazaar User Reference export section contains:
Purpose: Export current or past revision to a destination directory or archive.
Usage: bzr export DEST [BRANCH_OR_SUBDIR]
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."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这在从本地分支导出目录时有效。我能够重现这一点,它似乎是一个错误:https://bugs.launchpad。净/bzr/+bug/403857
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