【问题标题】:How to get local bzr commits to server?如何将本地 bzr 提交到服务器?
【发布时间】:2010-03-21 15:18:01
【问题描述】:

lanchpad.net表示对于项目Emle - Electronic Mathematics Laboratory Equipment,目前的开发重点是2.0 series

这是我到目前为止所做的:

  1. 将launchpad.net项目设置为从sourceforge.net项目Emle导入(这实际上将launchpad.net项目设置为镜像sourceforge.net项目,而不是只导入一次内容)
  2. 检查了 launchpad.net 项目,发现之前在 sourceorge.net 项目中完成的三个提交 (#1 - #3) 进入了 launchpad.net。
  3. 使用bzr 获取我在仍设置为镜像时所做的launchpad.net 项目。
  4. 使用 bzr (#4 - #6) 进行了三处更改和提交。
  5. 无法在 launchpad.net 站点上看到更改。
  6. 请求停止镜像(确实如此)。

这是来自 lanchpad.net 项目 Emle 2.0 series 的摘录,显示 launchpad.net 有 #1 - #3:

Code for this series
The following branch has been registered as the mainline branch for this release series:

lp:emle - C.W.Holeman II
3 revisions, 3 in the past month.

这表明#4 - #6 存在某种问题:

$ bzr  missing 
Using saved parent location: bzr+ssh://bazaar.launchpad.net/~cwhii/emle/2.0/
You have 3 extra revision(s):
------------------------------------------------------------
revno: 6
committer: C.W.Holeman II <cwhii_hcnual@julianlocals.com>
branch nick: lp.emle
timestamp: Sat 2010-02-27 09:13:29 -0800
message:
  #528096 Corrected setting of paramter value for emleDir to the dir
  attribute value of the message element in the lanuage message file,
  lang/emle_lang_XX.xml. Minor refactor -  Consistently setting the dir and lang
  attributes of html, head and body elements.
------------------------------------------------------------
revno: 5
committer: C.W.Holeman II <cwhii_hcnual@julianlocals.com>
branch nick: lp.emle
timestamp: Sat 2010-02-27 09:08:09 -0800
message:
  Minor refactor - improved comment regarding workaround for replacing
  html vs head and body elements from index html with lab transformed
  XML (to html) document tree.  
------------------------------------------------------------
revno: 4
committer: C.W.Holeman II <cwhii_hcnual@julianlocals.com>
branch nick: lp.emle
timestamp: Sat 2010-02-27 09:04:29 -0800
message:
  #529089 #529087 Index file html tag lang attribute corrected and empty link tag changed

如何将我系统上 bzr 中的更改应用到 launchpad.net?

更多信息:

$ bzr check
Checking working tree at '/home/cwhii/work/lp.emle'.
Checking branch at 'file:///home/cwhii/work/lp.emle/'.
Checking repository at 'file:///home/cwhii/work/lp.emle/'.
checked repository <bzrlib.transport.local.LocalTransport url=file:///home/cwhii/work/lp.emle/> format <RepositoryFormat2a> 
     6 revisions
    83 file-ids
checked branch file:///home/cwhii/work/lp.emle/ format Branch format 7

$ bzr merge
Merging from remembered parent location bzr+ssh://bazaar.launchpad.net/~cwhii/emle/2.0/
Nothing to do.                                                                                                              

【问题讨论】:

    标签: bazaar


    【解决方案1】:

    原来 lp:~cwhii/emle/2.0 是一个来自 svn 的自动导入分支。即使您拥有它们,也不允许您写入导入分支,因为这会在自动导入机器人尝试继续写入它们时引起混乱。

    所以我建议你在这里做的是

    1- 去http://launchpad.net/people/+newteam 建立一个emle-dev 团队,这样你以后可以让其他人写到这个项目,如果你愿意

    2- 转到 http://code.launchpad.net/~cwhii/emle/2.0/+edit 并将 name 字段更改为“2.0-import”以“将其移开”

    3- 在你的电脑上,在分支目录中,输入“bzr push --remember lp:~emle-dev/emle/2.0”

    4- 在http://launchpad.net/emle/2.0/+linkbranch 输入~emle-dev/emle/2.0 表示这是现在的开发重点

    希望有帮助。

    (对不起,它们不是真正的链接,我这里没有足够的业力。)

    这里的糟糕消息是https://launchpad.net/bugs/543797/

    【讨论】:

      猜你喜欢
      • 2014-11-16
      • 1970-01-01
      • 2012-01-02
      • 1970-01-01
      • 2017-05-23
      • 2019-07-05
      • 1970-01-01
      • 2018-11-20
      • 1970-01-01
      相关资源
      最近更新 更多