[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] RFC: Splitting python binding out into a separate repo & ading to PyPi



On Fri, Aug 30, 2013 at 03:27:42PM +0800, Daniel Veillard wrote:
> On the other hand moving to a separate repo would likely lose our git history
> (not sure if we can keep it, i doubt) which would be a bummer IMHO.

You can use git filter-branch to extract the python bindings (assuming it's self
contained in the python/ directory) while keeping history:

« To rewrite the repository to look as if foodir/ had been its project root,
and discard all other history:


    git filter-branch --subdirectory-filter foodir -- --all
»
(this example comes from git filter-branch manpage)

Christophe

Attachment: pgp2tokM2ntvi.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]