[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect working revision for the mercurial VC backend
From: |
Nick Roberts |
Subject: |
Re: incorrect working revision for the mercurial VC backend |
Date: |
Wed, 30 Dec 2009 20:02:27 +1300 |
> I could not apply it. If I copy-paste it out of the email, patch rejects it:
>
> $ patch -p1 < vc-hg.patch
> patching file vc-hg.el
> Hunk #1 FAILED at 209.
> 1 out of 1 hunk FAILED -- saving rejects to file vc-hg.el.rej
I'm not sure how old your version of vc-hg.el is but it's a small patch which
could probaly be easily applied manually. It's no big deal in this case but
generally it would be good if you could switch to bzr so that you know your
reports are against up-to-date source.
> > Also, iget a quoted string, e.g. "\"290\"", which is why I used read.
>
> This is because you use "\"{rev}\"" as the template instead of
> "{rev}". I used "{rev}" and I get just the revision e.g. 290.
Doh! I've committed a change accordingly.
--
Nick http://users.snap.net.nz/~nickrob
Re: incorrect working revision for the mercurial VC backend, Dan Nicolaescu, 2009/12/29