Frameworks/GitOldHistory: Difference between revisions
Appearance
m use git:// url |
m markup/formatting |
||
Line 1: | Line 1: | ||
In this page we'll describe the procedure to get access to the old history of a framework to cross to its original unsplit repository with git graft. | In this page we'll describe the procedure to get access to the old history of a framework to cross to its original unsplit repository with git graft. | ||
<ol> | |||
<li> You need a local clone of qtrepotools. This is part of any qt5.git clone, or you can clone it separately using <tt>git clone git://gitorious.org/qt/qtrepotools.git</tt>. | |||
<li> You need a local clone of kdelibs (the branch doesn't matter, it could be KDE/4.x, master, or the now-unused frameworks branch). | |||
Let's say this is in ~/kde4/kdelibs for instance. | Let's say this is in ~/kde4/kdelibs for instance. | ||
<li> Run this command from the frameworks directory (the parent directory of all the frameworks clones) | |||
<pre> | <pre> | ||
Line 12: | Line 13: | ||
</pre> | </pre> | ||
<li> It will fail for ktexteditor, since that one comes from the kate repository. | |||
<pre> | <pre> | ||
cd ktexteditor | cd ktexteditor | ||
/path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kate | /path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kate | ||
</pre> | </pre> | ||
</ol> |
Revision as of 18:13, 8 December 2014
In this page we'll describe the procedure to get access to the old history of a framework to cross to its original unsplit repository with git graft.
- You need a local clone of qtrepotools. This is part of any qt5.git clone, or you can clone it separately using git clone git://gitorious.org/qt/qtrepotools.git.
- You need a local clone of kdelibs (the branch doesn't matter, it could be KDE/4.x, master, or the now-unused frameworks branch). Let's say this is in ~/kde4/kdelibs for instance.
- Run this command from the frameworks directory (the parent directory of all the frameworks clones)
for d in * ; do ( cd $d ; /path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kdelibs ) ; done
- It will fail for ktexteditor, since that one comes from the kate repository.
cd ktexteditor /path/to/qtrepotools/bin/git-qt-grafts ~/kde4/kate