>>>> "ST" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
ST> I do mean named branches, something I can stash away for a week or
ST> ten, and have the history there when I can come back to it.
AFAIK, named branches were not part of Mercurial's original design.
Rather, instead of creating a new branch, the expectation is that the
user would clone the repo and work in the clone.
ST> In particular, unlike a branch which has a well-defined history and
ST> terminal state, it just didn't work for me to go away from a queue
ST> for very long because it was hard to figure out where I was.
Hmm. My work to get MH-E 8.0.3 to fit into the XEmacs package system
happens in fits and starts, sometimes with multiple months of
non-activity, and I haven't had problems picking up where I left off. I
currently have 20 patches in MQ, including some hacks to deal with
unrelated problems that I ran into while working on MH-E 8.0.3.
Here are some aspects of my workflow that might be helpful:
* I keep a Todo file that sketches out the remaining work for a
project. (And for long-running projects, I often leave notes in it
about work that has already been completed.)
* Each patch includes the corresponding ChangeLog entry/entries. These
usually require manual repair of the patch after synching with the
upstream repo, but it's a trivial merge.
* I try to have a naming system for the patches. For example, patches
to other packages to deal with incompatibilities between MH-E 7 and
MH-E 8 are all named <pkg>-mh-e-8.
* I use -m when creating a new patch with qnew. If you forget to do
that, or you want to change the log text, you can use -m with
qrefresh. So if I want to remember what a particular patch does, I
can either do "hg log -r <patch>" or I can look at the ChangeLog
entries that are in the patch.
I have not tried putting the patches into a repo so that they can be
easily shared.
ST> The other problem with Mercurial is that there are all these
ST> extensions, but there's no way to find out what they are! "mq" is
ST> mentioned in man hgrc (but nowhere in hg help), and guessing
ST> "transplant" worked. But I wonder what else there might be out
ST> there....
http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions
cheers,
mike
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta