Applying patches to foreign repositories

Sean E. Russell ser at ser1.net
Tue Apr 8 22:00:21 CDT 2008


Hello,

I have what I suspect is not an unusual situation.  I maintain a library for a 
project, and my source code exists in both a master repository (mine, HG) and 
the project's repository (Subversion).  The directory layout looks like this:

	Subversion:	project/lib/mylib/
	Mercurial:	myproject/src/mylib/

The 'project' directory contains a bunch of other directories and files I'm 
not very interested in, and the same goes for 'myproject' and the other 
repository.  The intersection of common code is at the 'mylib' directory.

I'm seeking suggestions for how to manage this -- pushing and pulling diffs to 
and from project/lib/mylib.  I had thought about using a forest, but at this 
point I already have several years worth of history in 'myproject' (converted 
from Subversion), and I'm not sure how I'd best break that up.

Please feel free to point me at existing information, FAQs, or other 
discussions about this if such exists.  My rudimentary queries of the mailing 
list didn't turn up much ... I'm drawing a blank on good search terms to 
filter the archives on.

Thank you.

-- 
 |..   ------------------------ Sean Russell -------------------------
<|>                     Deutsch  Esperanto  Francaise
/|\    ---------- [    jabber: seanerussell at gmail.com    ] -----------
/|                [       web: http://www.ser1.net       ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080408/503f0176/attachment.pgp 


More information about the Mercurial mailing list