[Lxdream-dev] lxdream development questions

Nathan Keynes nkeynes at lxdream.org
Thu Jul 9 00:39:54 PDT 2009


On Thu, Jul 9, 2009 at 3:06 AM, Jon Ring <jonnyring at gmail.com> wrote:

>
> "Real life" has been throwing more at me recently than I'd like, but I have
> gotten switched over to Mercurial.  I've never used it before (although I've
> been looking for a good excuse to try it out), so I was wondering if there
> is a new "best practice" for sending you patches/code to try out.  I'd like
> to send you my OSD code as it stands now, as I think it would be best to
> address both the OSD and the status messages together.


Welcome to mercurial :) I think basically, for stuff you're working on but
not finished, hg diff is fine. For stuff that's done and ready to be
integrated, I'd go with:
    hg pull -uv   # up to date check. Assuming no conflicts...
    hg commit
    hg export <revid>    # where revid is the newly committed revision,
prints to stdout

You will probably also want to put
[ui]
username = wahrhaft

(or whatever ident you want to use) in either your ~/.hgrc or
lxdream/.hg/hgrc file, so that the commit goes through under that name.

Cheers,
Nathan



More information about the Lxdream-dev mailing list