Version 5 (modified by, 12 years ago) (diff)


Updating Bugzilla

This page describes a process to update the Bugzilla instance running on


  • Check out Bugzilla sources from CVS (for reference).
        cvs -d "" co -d bugzilla.cvs mozilla/webtools/bugzilla
  • Import original Bugzilla sources from CVS into a local git repository (may take a couple of hours).
        rm -f ~/.cvsps/\:pserver\\:#cvsroot#mozilla#webtools#bugzilla
        mkdir bugzilla.git
        git cvsimport -d "" -C bugzilla.git -k mozilla/webtools/bugzilla
  • Import BugsSite from the WebKit repository into a local git repository.
        mkdir bugssite.git
        cd bugssite.git
        git svn init -T trunk/BugsSite
        git svn fetch
  • Create a local git repository to do the merge.
        mkdir update.git
        cd update.git
        git init
        git remote add -f origin-bugssite ../bugssite.git
        git remote add -f origin-bugzilla ../bugzilla.git
        # TODO: update .git/info/grafts to create artificial merge points
  • Create a local git branch.
        git checkout -b master remotes/origin-bugssite/master