does this workflow sound like a good idea?
Patrick Waugh
ptwaugh at gmail.com
Tue Oct 7 19:33:16 UTC 2008
Ok, I'm finally about to "really" use Hg (cheers)!
I am setting up Zen-Cart, and here is what I'm planning to do, and I
thought I'd ask for views on this from those more experienced.
To begin, I unzipped the current version, 1.3.8a and created a repository:
hg init
hg add
hg ci -m "Initial commit"
hg tag 1.3.8a
and now I'm going to add the Google-Checkout mod. Now as there are no
other mods yet, installation is trivial, and I could just overwrite
existing files, and then do another commit.
However, what I'm thinking I might want to do is create a "patch".
Why? Well, because typically when this mod is updated, it must be
completely removed and the new version then installed. So, this seems
to be the way to go.
Now, if I imagine that I want to install another mod "cool_stuff",
after having already installed another mod, I could create a branch
with the original version as a parent, so I can do a trivial install,
and then merge the two resulting branches.
Does this sound like it makes sense? Other thoughts?
Patrick
More information about the Mercurial
mailing list