yvi: Rodney Mckay, text: "bad day" (Atlantis - Bad Day)
yvi ([personal profile] yvi) wrote in [site community profile] dw_dev2011-02-20 12:21 pm
Entry tags:

Mercurial

I have been trying to actually use Mercurial for my dev work these past few days, and I still don't quite get it.

I have read http://wiki.dwscoalition.org/notes/Dev_Version_Control , so I can now make a new changeset, then do my changes and sync with the live code, but a few things still escape me.

Do I need to use hg qcommit at some point?

How do I unapply all the patches and then sync with the DW repository without Mercurial applying all my patches again?

Do I need to use hg qfinish?

Or, if anyone just wants to sketch out how they work with Mercurial in their dev environment, that would be great.
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2011-02-20 10:22 pm (UTC)(link)
If you're really done with your patches, you can take them out of the queue but keep the files with hg qpop and hg qdel -k then resync of course with dws and dwdb. Or do a simple hg qdel but you'll lose the patch file. I save all my patches on my computer or a dedicated folder on my DH and can easily re-import them with qimport, though.