如何获取本地bzr提交到服务器?

时间:2010-03-21 15:18:02

标签: bazaar

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项目previousley中完成的三次提交(#1 - #3)是否已进入launchpad.net。
  3. 使用bzr获取我在设置镜像时所做的launchpad.net项目。
  4. 使用bzr(#4 - #6)进行了三次更改并提交。
  5. 无法在launchpad.net网站上看​​到更改。
  6. 请求镜像停止(确实如此)。
  7. 以下是来自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.                                                                                                              
    

1 个答案:

答案 0 :(得分:5)

它说明lp:~cwhii / emle / 2.0是来自svn的自动导入分支。即使您拥有它们,也不允许您写入导入分支,因为当自动导入机器人试图继续写入时,这会导致混淆。

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

1-转到http://launchpad.net/people/+newteam并创建一个 emle-dev 小组,以便以后可以让其他人写入此项目

2-转到http://code.launchpad.net/~cwhii/emle/2.0/+edit并将名称字段更改为“2.0-import”以“将其排除在外”

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

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

希望有所帮助。

(对不起,他们不是真正的联系,我这里没有足够的业力。)

这里的不良信息是https://launchpad.net/bugs/543797/