"hg import" can't handle multiple changesets per file

Josh Triplett josht at us.ibm.com
Wed Aug 24 21:09:21 CDT 2005


[Please CC me on replies, as I am not subscribed to the list.]

If you do "hg export 1 2 3 > file.patch", file.patch will contain a set
of hg changesets in exported form, including the hg header comment
before each.  However, "hg import file.patch" will ignore all but the
first header, and treat the entire file as a representation of that one
changeset.  In my case, this caused three large changesets to be
committed as one changeset, amusingly titled "formatting fixes". :)

- Josh Triplett




More information about the Mercurial mailing list