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

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

 



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: pgpKs3I1TDvKf.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]