unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Updates not shown in vc-dir buffers?
@ 2009-04-09 13:16 Tassilo Horn
  2009-04-09 14:33 ` Dan Nicolaescu
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2009-04-09 13:16 UTC (permalink / raw)
  To: emacs-devel

Hi all,

I opened a SVN directory in vc-dir-mode (C-x v d /path/to/dir RET).
Then I updated it using `+'.  It fetched updates (as `l' reveals), but
those are not listed in the vc-dir buffer.

Is that intended?  Does it only show updates that had to be merged with
local changes?  (At least I like to see which files were touched since
the last update...)

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-09 13:16 Updates not shown in vc-dir buffers? Tassilo Horn
@ 2009-04-09 14:33 ` Dan Nicolaescu
  2009-04-09 15:58   ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Nicolaescu @ 2009-04-09 14:33 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

  > Hi all,
  > 
  > I opened a SVN directory in vc-dir-mode (C-x v d /path/to/dir RET).
  > Then I updated it using `+'.  It fetched updates (as `l' reveals), but
  > those are not listed in the vc-dir buffer.

Can you please describe what you see and what do you expect to see?
If you start another emacs instance and in that new emacs instance do
C-x v d /path/to/dir RET
do you see something different than in the original instance?

If you do see something different, can you please show the output of 

M-: (vc-call-backend vc-dir-backend 'state "/path/to/dir/FILENAME") RET
in both emacs instances.  Where FILENAME is the name of a file which is
display differently (you need to pass an absolute path name to
vc-call-backend).

  > Is that intended?  Does it only show updates that had to be merged with
  > local changes?  (At least I like to see which files were touched since
  > the last update...)





^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-09 14:33 ` Dan Nicolaescu
@ 2009-04-09 15:58   ` Tassilo Horn
  2009-04-09 16:35     ` Dan Nicolaescu
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2009-04-09 15:58 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> writes:

Hi Dan,

> Can you please describe what you see and what do you expect to see?

Sure.  Here's what I do to setup a test bench.

--8<---------------cut here---------------start------------->8---
% cd uni/repos/jgralab
% svn up
U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
Updated to revision 1182.
% svn up -r1180
U    src/de/uni_koblenz/jgralab/GraphIO.java
U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
Updated to revision 1180.
--8<---------------cut here---------------end--------------->8---

Now I fire up emacs -Q and open uni/repos/jgralab in vc-dir.  It lists
all unregistered files and dirs + the direcories containing the
unregistered stuff.  Those don't have a status label.

The first unexpected thing is that while "svn log" shows the log till
r1180 (as expected), `l' in vc-dir already shows the log till r1182.
How can that be?  "svn info" on the cmd line shows that the working copy
is still at r1180:

--8<---------------cut here---------------start------------->8---
% svn info 
Path: .
URL: https://svn.uni-koblenz.de/ist/projects/jgralab/trunk
Repository Root: https://svn.uni-koblenz.de/ist/projects
Repository UUID: 14684003-7d41-0410-9628-51a292b15fd0
Revision: 1180
Node Kind: directory
Schedule: normal
Last Changed Author: horn
Last Changed Rev: 1180
Last Changed Date: 2009-04-08 17:18:28 +0200 (Wed, 08 Apr 2009)
--8<---------------cut here---------------end--------------->8---

So where does `vc-print-log' get its informations from if not from "svn
log"?

Then I do a `+' in the vc-dir buffer and expect the files
src/de/uni_koblenz/jgralab/GraphIO.java and
testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java to be marked
as updated.  But the buffer contents don't change at all...

In buffer *vc* I do see what I expected:

--8<---------------cut here---------------start------------->8---
U    src/de/uni_koblenz/jgralab/GraphIO.java
U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
Updated to revision 1182.
--8<---------------cut here---------------end--------------->8---

> If you start another emacs instance and in that new emacs instance do
> C-x v d /path/to/dir RET do you see something different than in the
> original instance?

No, and as I've said, that's tested with emacs -Q.

Bye,
Tassilo
-- 
GNU Emacs 23.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7)
of 2009-04-08 on thinkpad




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-09 15:58   ` Tassilo Horn
@ 2009-04-09 16:35     ` Dan Nicolaescu
  2009-04-09 17:30       ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Nicolaescu @ 2009-04-09 16:35 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

  > Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > Hi Dan,
  > 
  > > Can you please describe what you see and what do you expect to see?
  > 
  > Sure.  Here's what I do to setup a test bench.
  > 
  > % cd uni/repos/jgralab
  > % svn up
  > U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
  > Updated to revision 1182.
  > % svn up -r1180
  > U    src/de/uni_koblenz/jgralab/GraphIO.java
  > U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
  > Updated to revision 1180.
  > 
  > Now I fire up emacs -Q and open uni/repos/jgralab in vc-dir.  It lists
  > all unregistered files and dirs + the direcories containing the
  > unregistered stuff.  Those don't have a status label.
  > 
  > The first unexpected thing is that while "svn log" shows the log till
  > r1180 (as expected), `l' in vc-dir already shows the log till r1182.
  > How can that be?  "svn info" on the cmd line shows that the working copy
  > is still at r1180:
  > 
  > % svn info 
  > Path: .
  > URL: https://svn.uni-koblenz.de/ist/projects/jgralab/trunk
  > Repository Root: https://svn.uni-koblenz.de/ist/projects
  > Repository UUID: 14684003-7d41-0410-9628-51a292b15fd0
  > Revision: 1180
  > Node Kind: directory
  > Schedule: normal
  > Last Changed Author: horn
  > Last Changed Rev: 1180
  > Last Changed Date: 2009-04-08 17:18:28 +0200 (Wed, 08 Apr 2009)
  > 
  > So where does `vc-print-log' get its informations from if not from "svn
  > log"?
  > 
  > Then I do a `+' in the vc-dir buffer and expect the files
  > src/de/uni_koblenz/jgralab/GraphIO.java and
  > testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java to be marked
  > as updated.  But the buffer contents don't change at all...
  > 
  > In buffer *vc* I do see what I expected:
  > 
  > U    src/de/uni_koblenz/jgralab/GraphIO.java
  > U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
  > Updated to revision 1182.

Unfortunately I can't try this now.

What does the *vc-dir* buffer show about the 2 files at this point?
Is it different from the output of 
svn status -u 
for those 2 files?
If yes, what is the result of 

M-: (vc-call-backend vc-dir-backend 'state "/path/to/dir/FILENAME") RET

for those 2 files?





^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-09 16:35     ` Dan Nicolaescu
@ 2009-04-09 17:30       ` Tassilo Horn
  2009-04-09 20:08         ` Dan Nicolaescu
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2009-04-09 17:30 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> writes:

>   > Then I do a `+' in the vc-dir buffer and expect the files
>   > src/de/uni_koblenz/jgralab/GraphIO.java and
>   > testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java to be marked
>   > as updated.  But the buffer contents don't change at all...
>   > 
>   > In buffer *vc* I do see what I expected:
>   > 
>   > U    src/de/uni_koblenz/jgralab/GraphIO.java
>   > U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
>   > Updated to revision 1182.
>
> Unfortunately I can't try this now.
>
> What does the *vc-dir* buffer show about the 2 files at this point?

They are not shown at all.  Since I opened the buffer initially, only
unregistered files and their parent directories are shown.

> Is it different from the output of 
> svn status -u 
> for those 2 files?

Now I updated to the old r1180 (2 commits away from HEAD) and that's the
output from svn status -u:

--8<---------------cut here---------------start------------->8---
% svn status -u
?                    src/de/uni_koblenz/jgralab/greql2/schema
?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2__.g
?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2Parser.java
?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2Lexer.java
?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2.tokens
?                    src/de/uni_koblenz/jgralab/grumlschema
        *     1180   src/de/uni_koblenz/jgralab/GraphIO.java
        *     1180   testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
?                    testit/de/uni_koblenz/jgralabtest/schemas
?                    build
Status against revision:   1182
--8<---------------cut here---------------end--------------->8---

vc-dir shows those results:

--8<---------------cut here---------------start------------->8---
VC backend : SVN
Working dir: ~/uni/repos/jgralab/
Repository : https://svn.uni-koblenz.de/ist/projects

                         ./
    unregistered         build
                         src/de/uni_koblenz/jgralab/
    unregistered         src/de/uni_koblenz/jgralab/grumlschema
                         src/de/uni_koblenz/jgralab/greql2/
    unregistered         src/de/uni_koblenz/jgralab/greql2/schema
                         src/de/uni_koblenz/jgralab/greql2/parser/
    unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2.tokens
    unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2Lexer.java
    unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2Parser.java
    unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2__.g
                         testit/de/uni_koblenz/jgralabtest/
    unregistered         testit/de/uni_koblenz/jgralabtest/schemas
--8<---------------cut here---------------end--------------->8---


> If yes, what is the result of 
>
> M-: (vc-call-backend vc-dir-backend 'state "/path/to/dir/FILENAME") RET

(vc-call-backend vc-dir-backend 'state
 "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")

says up-to-date.  I use svn 1.6.0 which is pretty new.  Maybe the
output format changed?

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-09 17:30       ` Tassilo Horn
@ 2009-04-09 20:08         ` Dan Nicolaescu
  2009-04-09 20:21           ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Nicolaescu @ 2009-04-09 20:08 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

  > Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > >   > Then I do a `+' in the vc-dir buffer and expect the files
  > >   > src/de/uni_koblenz/jgralab/GraphIO.java and
  > >   > testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java to be marked
  > >   > as updated.  But the buffer contents don't change at all...
  > >   > 
  > >   > In buffer *vc* I do see what I expected:
  > >   > 
  > >   > U    src/de/uni_koblenz/jgralab/GraphIO.java
  > >   > U    testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
  > >   > Updated to revision 1182.
  > >
  > > Unfortunately I can't try this now.
  > >
  > > What does the *vc-dir* buffer show about the 2 files at this point?
  > 
  > They are not shown at all.  Since I opened the buffer initially, only
  > unregistered files and their parent directories are shown.
  > 
  > > Is it different from the output of 
  > > svn status -u 
  > > for those 2 files?
  > 
  > Now I updated to the old r1180 (2 commits away from HEAD) and that's the
  > output from svn status -u:
  > 
  > % svn status -u
  > ?                    src/de/uni_koblenz/jgralab/greql2/schema
  > ?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2__.g
  > ?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2Parser.java
  > ?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2Lexer.java
  > ?                    src/de/uni_koblenz/jgralab/greql2/parser/Greql2.tokens
  > ?                    src/de/uni_koblenz/jgralab/grumlschema
  >         *     1180   src/de/uni_koblenz/jgralab/GraphIO.java
  >         *     1180   testit/de/uni_koblenz/jgralabtest/coretest/VertexTest.java
  > ?                    testit/de/uni_koblenz/jgralabtest/schemas
  > ?                    build
  > Status against revision:   1182
  > 
  > vc-dir shows those results:
  > 
  > VC backend : SVN
  > Working dir: ~/uni/repos/jgralab/
  > Repository : https://svn.uni-koblenz.de/ist/projects
  > 
  >                          ./
  >     unregistered         build
  >                          src/de/uni_koblenz/jgralab/
  >     unregistered         src/de/uni_koblenz/jgralab/grumlschema
  >                          src/de/uni_koblenz/jgralab/greql2/
  >     unregistered         src/de/uni_koblenz/jgralab/greql2/schema
  >                          src/de/uni_koblenz/jgralab/greql2/parser/
  >     unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2.tokens
  >     unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2Lexer.java
  >     unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2Parser.java
  >     unregistered         src/de/uni_koblenz/jgralab/greql2/parser/Greql2__.g
  >                          testit/de/uni_koblenz/jgralabtest/
  >     unregistered         testit/de/uni_koblenz/jgralabtest/schemas
  > 
  > 
  > > If yes, what is the result of 
  > >
  > > M-: (vc-call-backend vc-dir-backend 'state "/path/to/dir/FILENAME") RET
  > 
  > (vc-call-backend vc-dir-backend 'state
  >  "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")
  > 
  > says up-to-date.

What do you get if after that you do:

M-: (progn (vc-call-backend vc-dir-backend 'registered "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java") (vc-call-backend vc-dir-backend 'state "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")) RET





^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-09 20:08         ` Dan Nicolaescu
@ 2009-04-09 20:21           ` Tassilo Horn
  2009-04-11 15:16             ` Dan Nicolaescu
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2009-04-09 20:21 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> writes:

>   > (vc-call-backend vc-dir-backend 'state
>   >  "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")
>   > 
>   > says up-to-date.
>
> What do you get if after that you do:
>
> M-: (progn (vc-call-backend vc-dir-backend 'registered "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java") (vc-call-backend vc-dir-backend 'state "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")) RET

Still up-to-date.

Bye,
Tassilo
-- 
Windows: So easy to admin, even a worm can do it.




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-09 20:21           ` Tassilo Horn
@ 2009-04-11 15:16             ` Dan Nicolaescu
  2009-04-11 17:26               ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Nicolaescu @ 2009-04-11 15:16 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

  > Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > >   > (vc-call-backend vc-dir-backend 'state
  > >   >  "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")
  > >   > 
  > >   > says up-to-date.
  > >
  > > What do you get if after that you do:
  > >
  > > M-: (progn (vc-call-backend vc-dir-backend 'registered "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java") (vc-call-backend vc-dir-backend 'state "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")) RET
  > 
  > Still up-to-date.

I tried to follow you description and reproduce what you are doing here
(I obviously don't have access to your files), and I could not get
anything to fail.




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-11 15:16             ` Dan Nicolaescu
@ 2009-04-11 17:26               ` Tassilo Horn
  2009-04-13  7:20                 ` Dan Nicolaescu
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2009-04-11 17:26 UTC (permalink / raw)
  To: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> writes:

Hi Dan,

>   > >   > (vc-call-backend vc-dir-backend 'state
>   > >   >  "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")
>   > >   > 
>   > >   > says up-to-date.
>   > >
>   > > What do you get if after that you do:
>   > >
>   > > M-: (progn (vc-call-backend vc-dir-backend 'registered "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java") (vc-call-backend vc-dir-backend 'state "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")) RET
>   > 
>   > Still up-to-date.
>
> I tried to follow you description and reproduce what you are doing
> here (I obviously don't have access to your files), and I could not
> get anything to fail.

Which svn version are you using?  It's 1.6.0 here.  If you think the
repository itself could make a difference, it's free, you can check it
out [1].

Bye,
Tassilo
__________
[1] http://userpages.uni-koblenz.de/~ist/JGraLab_Documentation#Build_JGraLab_from_sourcecode




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-11 17:26               ` Tassilo Horn
@ 2009-04-13  7:20                 ` Dan Nicolaescu
  2009-04-13  9:39                   ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Nicolaescu @ 2009-04-13  7:20 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

  > Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > Hi Dan,
  > 
  > >   > >   > (vc-call-backend vc-dir-backend 'state
  > >   > >   >  "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")
  > >   > >   > 
  > >   > >   > says up-to-date.
  > >   > >
  > >   > > What do you get if after that you do:
  > >   > >
  > >   > > M-: (progn (vc-call-backend vc-dir-backend 'registered "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java") (vc-call-backend vc-dir-backend 'state "/home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java")) RET
  > >   > 
  > >   > Still up-to-date.
  > >
  > > I tried to follow you description and reproduce what you are doing
  > > here (I obviously don't have access to your files), and I could not
  > > get anything to fail.
  > 
  > Which svn version are you using?  It's 1.6.0 here. 

1.5.4 here

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




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-13  7:20                 ` Dan Nicolaescu
@ 2009-04-13  9:39                   ` Tassilo Horn
  2009-04-13 17:17                     ` Dan Nicolaescu
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2009-04-13  9:39 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> writes:

Hi Dan,

>   > > I tried to follow you description and reproduce what you are
>   > > doing here (I obviously don't have access to your files), and I
>   > > could not get anything to fail.
>   > 
>   > Which svn version are you using?  It's 1.6.0 here.
>
> 1.5.4 here
>
> 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.

--8<---------------cut here---------------start------------->8---
% svn status /home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java -v
              1180     1104 horn         /home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java
% svn status /home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java -u
        *     1180   /home/horn/uni/repos/jgralab/src/de/uni_koblenz/jgralab/GraphIO.java
Status against revision:   1182
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-13  9:39                   ` Tassilo Horn
@ 2009-04-13 17:17                     ` Dan Nicolaescu
  2009-04-13 18:32                       ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Nicolaescu @ 2009-04-13 17:17 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

  > Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > Hi Dan,
  > 
  > >   > > I tried to follow you description and reproduce what you are
  > >   > > doing here (I obviously don't have access to your files), and I
  > >   > > could not get anything to fail.
  > >   > 
  > >   > Which svn version are you using?  It's 1.6.0 here.
  > >
  > > 1.5.4 here
  > >
  > > 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:///...."




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-13 17:17                     ` Dan Nicolaescu
@ 2009-04-13 18:32                       ` Tassilo Horn
  2009-04-13 18:39                         ` Dan Nicolaescu
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2009-04-13 18:32 UTC (permalink / raw)
  To: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> 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.  And I guess
it's not really expected that vc-dir doesn't show updated files after
`+'.

Bye,
Tassilo
-- 
     My software never has bugs. It just develops random features.




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-13 18:32                       ` Tassilo Horn
@ 2009-04-13 18:39                         ` Dan Nicolaescu
  2009-04-13 19:25                           ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Nicolaescu @ 2009-04-13 18:39 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

  > Dan Nicolaescu <dann@ics.uci.edu> 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?




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Updates not shown in vc-dir buffers?
  2009-04-13 18:39                         ` Dan Nicolaescu
@ 2009-04-13 19:25                           ` Tassilo Horn
  0 siblings, 0 replies; 15+ messages in thread
From: Tassilo Horn @ 2009-04-13 19:25 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> 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




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-04-13 19:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 13:16 Updates not shown in vc-dir buffers? Tassilo Horn
2009-04-09 14:33 ` Dan Nicolaescu
2009-04-09 15:58   ` Tassilo Horn
2009-04-09 16:35     ` Dan Nicolaescu
2009-04-09 17:30       ` Tassilo Horn
2009-04-09 20:08         ` Dan Nicolaescu
2009-04-09 20:21           ` Tassilo Horn
2009-04-11 15:16             ` Dan Nicolaescu
2009-04-11 17:26               ` Tassilo Horn
2009-04-13  7:20                 ` Dan Nicolaescu
2009-04-13  9:39                   ` Tassilo Horn
2009-04-13 17:17                     ` Dan Nicolaescu
2009-04-13 18:32                       ` Tassilo Horn
2009-04-13 18:39                         ` Dan Nicolaescu
2009-04-13 19:25                           ` Tassilo Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).