Bug#334731: subversion: [psvn.el] error when press "P i"

Kalle Olavi Niemitalo kon at iki.fi
Sat Oct 29 05:22:35 UTC 2005


LI Daobing <lidaobing at gmail.com> writes:

> for example:
>
> ------------------------>
> svn status for directory /home/nichloas/test/wdmd-exp/Molecules/Peptide/
> 52 Unmodified files are hidden - press _ to toggle hiding
> 0 files marked
>
>   ?            ?             AAAAA/xxx
> <------------------------
>
> I just put the point at the line of AAAAA/xxx

I still cannot reproduce this.  Here is what I tried.

I took a working copy of revision 1414 of cvs2svn (with revision
12821 of svntest) and added an empty file named "HUUHAA" in the
test-data/compose-tag-three-sources-cvsrepos directory.  I then
loaded revision 13841 of psvn.el (not compiled) in a GNU Emacs
21.4 started with -nw --no-site-file -q, and ran M-x svn-status
on the working copy.  Next, I pressed _ to hide unmodified files,
and g to update the buffer, just to be sure.  The *svn-status*
buffer then contained this text:

------------------------------------------------------------------------
     FPH  BASE  CMTD Author      em File
svn status for directory ~/src/FOREIGN-SVN/cvs2svn/
346 Unmodified file(s) are hidden - press `_' to toggle hiding
0 file(s) marked

  X                              ./svntest
  ?               ?              test-data/compose-tag-three-sources-cvsrepos/HUUHAA
------------------------------------------------------------------------

Note that the text here was "0 file(s) marked", whereas you had
"0 files marked" without the parentheses.  The "press _" part
differs too.  Have you altered your version of psvn.el?

I moved point to the first "t" in the "HUUHAA" line and pressed P i.  Emacs
asked: "Ignore ("HUUHAA") for test-data/compose-tag-three-sources-cvsrepos?
(y or n)"  I pressed y.  A few messages appeared in the echo area and in
the *Messages* buffer:

------------------------------------------------------------------------
Edit property svn:ignore for file test-data/compose-tag-three-sources-cvsrepos
Adding new prop values ("HUUHAA")
svn propset svn:ignore on (test-data/compose-tag-three-sources-cvsrepos)
Warning: svn-status-goto-file-name: test-data/compose-tag-three-sources-cvsrepos/HUUHAA not found
------------------------------------------------------------------------

The text in the *svn-status* buffer changed to:

------------------------------------------------------------------------
     FPH  BASE  CMTD Author      em File
svn status for directory ~/src/FOREIGN-SVN/cvs2svn/
345 Unmodified file(s) are hidden - press `_' to toggle hiding
0 file(s) marked

  X                              ./svntest
   M   1414   836 maxb           test-data/compose-tag-three-sources-cvsrepos
------------------------------------------------------------------------

So, the feature was working as expected.

I don't think I can trace this further without seeing either
the value of the svn-status-info variable, or the output in
the *svn-process* buffer after svn status has just been run.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-subversion-maintainers/attachments/20051029/094b86e5/attachment-0001.pgp


More information about the pkg-subversion-maintainers mailing list