vc in emacs problem with git

4 messages, 2 authors, 2016-06-15 · open the first message on its own page

vc in emacs problem with git

From: Rustom Mody <hidden>
Date: 2016-06-15 22:47:19

This is emacs 23 using the new 'updated-for-modern-dvcs' vc
I see a mode line saying (note the colon)
Git:master

In the info on vc (Version control and the mode line) the emacs manual says:

  The character between the back-end name and the revision ID
indicates the version control status of the file.  `-' means that the
work file is not locked (if locking is in use), or not modified (if
locking is not in use).  `:' indicates that the file is locked, or that
it is modified.

However at the shell a git status says
# On branch master
nothing to commit (working directory clean)

If I close and reopen the file the colon becomes a -
But I get a message:

`working-revision' not found: using the old `workfile-version' instead.

Re: vc in emacs problem with git

From: Rustom Mody <hidden>
Date: 2016-06-15 22:47:19

Just updating my own question:
when I do a C-x v v (vc-next-action)
which is supposed to be the most basic operation for checking in a file I get

 Wrong type argument: stringp, nil

So vc can be assumed to be a broken I guess?

On Thu, Aug 27, 2009 at 8:58 PM, Rustom Mody[off-list ref] wrote:
This is emacs 23 using the new 'updated-for-modern-dvcs' vc
I see a mode line saying (note the colon)
Git:master

In the info on vc (Version control and the mode line) the emacs manual says:

  The character between the back-end name and the revision ID
indicates the version control status of the file.  `-' means that the
work file is not locked (if locking is in use), or not modified (if
locking is not in use).  `:' indicates that the file is locked, or that
it is modified.

However at the shell a git status says
# On branch master
nothing to commit (working directory clean)

If I close and reopen the file the colon becomes a -
But I get a message:

`working-revision' not found: using the old `workfile-version' instead.

Re: vc in emacs problem with git

From: Tassilo Horn <hidden>
Date: 2016-06-15 22:47:19

Rustom Mody [off-list ref] writes:

Hi Rustom,
Just updating my own question:
when I do a C-x v v (vc-next-action)
which is supposed to be the most basic operation for checking in a file I get

 Wrong type argument: stringp, nil

So vc can be assumed to be a broken I guess?
Hm, please do `M-x toggle-debug-on-error', reproduce the error and poste
the backtrace.

Bye,
Tassilo

Re: vc in emacs problem with git

From: Rustom Mody <hidden>
Date: 2016-06-15 22:47:20

On Thu, Aug 27, 2009 at 9:44 PM, Rustom Mody[off-list ref] wrote:
Just updating my own question:
when I do a C-x v v (vc-next-action)
which is supposed to be the most basic operation for checking in a file I get

 Wrong type argument: stringp, nil

So vc can be assumed to be a broken I guess?
Answering my own question:
Short answer: vc-git.el from git breaks vc in emacs
Long answer: see emacs mailing list discussion
 http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/657d9c58baed7b0f#
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help