all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12757: 24.2.50; vc-svn-merge-news: Couldn't analyze svn update result
@ 2012-10-29  2:43 OKAZAKI Tetsurou
  2012-10-29  8:43 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: OKAZAKI Tetsurou @ 2012-10-29  2:43 UTC (permalink / raw)
  To: 12757

[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]

Tags: patch

In GNU Emacs 24.2.50.5 (i686-pc-cygwin)
 of 2012-10-29 on zeroset
Bzr revision: 110709 monnier@iro.umontreal.ca-20121028204149-1s63clufiecqd05k
Windowing system distributor `Microsoft Corp.', version 0.0.0
Configured using:
 `configure '--without-all' '--without-x' '--with-w32' '--with-gnutls'
 '--with-xml2' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif'
 '--with-png' '--with-rsvg' '--enable-check-lisp-object-type'
 'CFLAGS=-ggdb3 -O2''

with svn, version 1.7.7 (r1393599)
   compiled Oct 10 2012, 10:19:48

VC back-end for SVN fails to parse the merge response when the target file
is in the subdirectory.

In *vc-dir* buffer:

  VC backend : SVN
  Working dir: ~/Checkout/googlecode.com/zxing-read-only/
  Repository : http://zxing.googlecode.com/svn

      needs-merge          core/src/com/google/zxing/MultiFormatReader.java

error "Couldn't analyze svn update result" occurs by pressing `+'
on the `needs-merge' line.

corresponding messages:

  Merging changes into /home/foo/Checkout/googlecode.com/zxing-read-only/core/src/com/google/zxing/MultiFormatReader.java...
  vc-svn-merge-news: Couldn't analyze svn update result

*vc* buffer is as follows:

  Updating 'core/src/com/google/zxing/MultiFormatReader.java':
  G    core/src/com/google/zxing/MultiFormatReader.java
  Updated to revision 2482.




[-- Attachment #2: vc-svn-merge-news.diff --]
[-- Type: application/octet-stream, Size: 999 bytes --]

=== modified file 'lisp/vc/vc-svn.el'
*** lisp/vc/vc-svn.el	2012-02-25 04:29:09 +0000
--- lisp/vc/vc-svn.el	2012-10-29 00:12:43 +0000
***************
*** 399,405 ****
                 ;; We also used to match the filename in column 0 without any
                 ;; meta-info before it, but I believe this can never happen.
                 (concat "^\\(\\([ACGDU]\\)\\(.[B ]\\)?  \\)"
!                        (regexp-quote (file-name-nondirectory file)))
                 nil t)
                (cond
                 ;; Merge successful, we are in sync with repository now
--- 399,405 ----
                 ;; We also used to match the filename in column 0 without any
                 ;; meta-info before it, but I believe this can never happen.
                 (concat "^\\(\\([ACGDU]\\)\\(.[B ]\\)?  \\)"
!                        (regexp-quote (file-relative-name file)))
                 nil t)
                (cond
                 ;; Merge successful, we are in sync with repository now


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

* bug#12757: 24.2.50; vc-svn-merge-news: Couldn't analyze svn update result
  2012-10-29  2:43 bug#12757: 24.2.50; vc-svn-merge-news: Couldn't analyze svn update result OKAZAKI Tetsurou
@ 2012-10-29  8:43 ` Andreas Schwab
  2012-11-02 19:42   ` OKAZAKI Tetsurou
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2012-10-29  8:43 UTC (permalink / raw)
  To: OKAZAKI Tetsurou; +Cc: 12757

OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> writes:

> === modified file 'lisp/vc/vc-svn.el'
> *** lisp/vc/vc-svn.el	2012-02-25 04:29:09 +0000
> --- lisp/vc/vc-svn.el	2012-10-29 00:12:43 +0000
> ***************
> *** 399,405 ****
>                  ;; We also used to match the filename in column 0 without any
>                  ;; meta-info before it, but I believe this can never happen.
>                  (concat "^\\(\\([ACGDU]\\)\\(.[B ]\\)?  \\)"
> !                        (regexp-quote (file-name-nondirectory file)))
>                  nil t)
>                 (cond
>                  ;; Merge successful, we are in sync with repository now
> --- 399,405 ----
>                  ;; We also used to match the filename in column 0 without any
>                  ;; meta-info before it, but I believe this can never happen.
>                  (concat "^\\(\\([ACGDU]\\)\\(.[B ]\\)?  \\)"
> !                        (regexp-quote (file-relative-name file)))

Is that backward compatible with older svn versions?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#12757: 24.2.50; vc-svn-merge-news: Couldn't analyze svn update result
  2012-10-29  8:43 ` Andreas Schwab
@ 2012-11-02 19:42   ` OKAZAKI Tetsurou
  2012-11-17  7:07     ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: OKAZAKI Tetsurou @ 2012-11-02 19:42 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 12757, OKAZAKI Tetsurou

At Mon, 29 Oct 2012 09:43:50 +0100,
Andreas Schwab wrote:
> 
> OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> writes:
> 
> > === modified file 'lisp/vc/vc-svn.el'
> > *** lisp/vc/vc-svn.el	2012-02-25 04:29:09 +0000
> > --- lisp/vc/vc-svn.el	2012-10-29 00:12:43 +0000
> > ***************
> > *** 399,405 ****
> >                  ;; We also used to match the filename in column 0 without any
> >                  ;; meta-info before it, but I believe this can never happen.
> >                  (concat "^\\(\\([ACGDU]\\)\\(.[B ]\\)?  \\)"
> > !                        (regexp-quote (file-name-nondirectory file)))
> >                  nil t)
> >                 (cond
> >                  ;; Merge successful, we are in sync with repository now
> > --- 399,405 ----
> >                  ;; We also used to match the filename in column 0 without any
> >                  ;; meta-info before it, but I believe this can never happen.
> >                  (concat "^\\(\\([ACGDU]\\)\\(.[B ]\\)?  \\)"
> > !                        (regexp-quote (file-relative-name file)))
> 
> Is that backward compatible with older svn versions?

Further confirmed it works with the following versions:

svn, version 1.6.18 (r1303927)
svn, version 1.5.9 (r1041577)
svn, version 1.4.6 (r28521)
svn, version 1.3.2 (r19776)
svn, version 1.2.3 (r15833)

-- 
Tetsurou





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

* bug#12757: 24.2.50; vc-svn-merge-news: Couldn't analyze svn update result
  2012-11-02 19:42   ` OKAZAKI Tetsurou
@ 2012-11-17  7:07     ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2012-11-17  7:07 UTC (permalink / raw)
  To: OKAZAKI Tetsurou; +Cc: 12757, Andreas Schwab

OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> writes:

> Further confirmed it works with the following versions:
>
> svn, version 1.6.18 (r1303927)
> svn, version 1.5.9 (r1041577)
> svn, version 1.4.6 (r28521)
> svn, version 1.3.2 (r19776)
> svn, version 1.2.3 (r15833)

Thanks for checking.  This looks like a pretty annoying bug, so I went
ahead and committed your fix to the emacs-24 branch.





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

end of thread, other threads:[~2012-11-17  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29  2:43 bug#12757: 24.2.50; vc-svn-merge-news: Couldn't analyze svn update result OKAZAKI Tetsurou
2012-10-29  8:43 ` Andreas Schwab
2012-11-02 19:42   ` OKAZAKI Tetsurou
2012-11-17  7:07     ` Chong Yidong

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.