On 2/14/11 2:04 PM, Mike Kupfer wrote:
Raymond Toy wrote:
I don't know anything about pcl-cvs (I use vc instead). Mercurial.el
defines some keybindings so that it superficially works like vc (e.g.,
"C-x v =" for diffs, "C-x v l" for file history).
With pcl-cvs, M-x cvs-update brings up a buffer, kind of like what hg
status would produce. This buffer allows you to do some simple
operations on the files that are listed. "=" produces a diff of the
file. "c" asks for a commit message and commits the changes. And so
on. I was kind of expecting the same from hg-status. I think pcl-cvs
is completely integrated with vc, so C-x v = uses cvs diff.
M-x git-status (from git.el) does something like this, so driving git
this way is very natural to me.
> I guess I basically don't know how to drive it, and there's not
> much documentation in mercurial.el about how to use it. Or maybe the
> version I have is too old. There's a copyright from 2006.
I don't know if there's a newer version.
http://alexott.net/en/writings/emacs-vcs/EmacsMercurial.html has an
intro to mercurial.el that looks like it might be helpful for you.
Yes, this is helpful. Thanks for the tip.
It would be nice if hg-status worked as I expected it to work. The code
looks like it checks to see if there's an .hg directory, and if there's
not, it supposed to ask you for a path. Instead it signals an error.
Haven't figured out what's causing that.
Ray
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta