Mercurial > emacs
comparison lisp/vc-svn.el @ 107020:e59c65208b1c
* vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 27 Jan 2010 21:54:48 -0800 |
parents | f243845df25f |
children | d1489c6b5705 |
comparison
equal
deleted
inserted
replaced
107019:441df431f2d6 | 107020:e59c65208b1c |
---|---|
328 ;; If no revision was specified, there's nothing to do. | 328 ;; If no revision was specified, there's nothing to do. |
329 nil | 329 nil |
330 ;; Check out a particular version (or recreate the file). | 330 ;; Check out a particular version (or recreate the file). |
331 (vc-file-setprop file 'vc-working-revision nil) | 331 (vc-file-setprop file 'vc-working-revision nil) |
332 (apply 'vc-svn-command nil 0 file | 332 (apply 'vc-svn-command nil 0 file |
333 "--non-interactive" ; bug#4280 | |
333 "update" | 334 "update" |
334 (cond | 335 (cond |
335 ((null rev) "-rBASE") | 336 ((null rev) "-rBASE") |
336 ((or (eq rev t) (equal rev "")) nil) | 337 ((or (eq rev t) (equal rev "")) nil) |
337 (t (concat "-r" rev))) | 338 (t (concat "-r" rev))) |