importing file with multiple changset (Re: tcsh_completion.sh)

TK Soh teekaysoh at yahoo.com
Tue Aug 30 08:00:29 CDT 2005


--- Thomas Arendsen Hein <thomas at intevation.de> wrote:

> * TK Soh <teekaysoh at yahoo.com> [20050830 14:25]:
> > --- Thomas Arendsen Hein <thomas at intevation.de> wrote:
> > > Patches applied to tah and crew.
> > 
> > BTW, a little OT here, how do you import multiple changesets in a single
> file -
> > something I noticed in your tree after my patches? My understanding is that
> > import would simply compress all changsets in the file and commit them as a
> > single changeset. Earlier someone has raise the topic, where I suggested
> using
> > csplit.
> 
> I configured mutt to open attached patches with vim, there I saved
> your mixed patches manually in two files each.
> 
> I think hg import can be extended to allow automatic splitting if
> there are the magic hg changeset lines, but I don't think anyone is
> working on this yet.

After the earlier discussion, I did a quick hack to added scplit into
import_(). However, I am not sure about some of the design aspect - "how to
split" being one of them. If I assume a clean patch file generated with export,
then life would be a lot easier. But I understand import can sometime act on
email with embedded patches.

Any thought?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mercurial mailing list