emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updates not shown in vc-dir buffers?


From: Tassilo Horn
Subject: Re: Updates not shown in vc-dir buffers?
Date: Mon, 13 Apr 2009 21:25:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

>   > >   > > You can try to debug why
>   > >   > > (vc-svn-state 
> "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")
>   > >   > > returns 'up-to-date
>   > >   > 
>   > >   > It seems that it always wants to stay local (vc-stay-local-p
>   > >   > returns only-file), and thus does "svn update <file> -v".  But
>   > >   > then there's no indication that there's a newer file on the
>   > >   > server, e.g. there's no * in the output.
>   > >
>   > > So everything is working as expected.  I didn't see the problem
>   > > because my test repository uses "Repository Root: file:///...."
>   > 
>   > But it says up-to-date if I set vc-stay-local to nil, too.  
>
> Does:
> (vc-svn-state 
> "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")
> return 'up-to-date in that case too?

Yes, it does.  I edebugged vc-svn-state and it does use the -v option to
svn status, so the output should look like that:

--8<---------------cut here---------------start------------->8---
% svn status -u src/de/uni_koblenz/jgralab/GraphIO.java
        *     1170   src/de/uni_koblenz/jgralab/GraphIO.java
Status against revision:   1182
--8<---------------cut here---------------end--------------->8---

It seems that the vc commands use temporary buffers most of the time
which makes it hard to debug.  There's *vc* and " *VC-SVN temp*" (or
something like that, but currently I'm failing to see which command
creates them...

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]