[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn patch fails to add new or intermediate directories

From: André L F S Bacci <andrebacci.listas_at_gmail.com>
Date: Sun, 24 Apr 2016 22:15:58 -0300

Hi,

I'm using svn 1.8.8 (Ubuntu 14.04.4 LTS), so this may be already fixed...

If a patch contains new files in new sub directories, applying this patch
fails.

$ export LANG=C
$ export LC_MESSAGES=C

$ svn help | head -n 2
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.8.8.

$ head -n 5 patch
Index: pt_BR/reference/pdo/pdo/getattribute.xml
--- pt_BR/reference/pdo/pdo/getattribute.xml
+++ pt_BR/reference/pdo/pdo/getattribute.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="utf-8"?>

$ ls -lahr pt_BR/reference/pdo/
total 16K
-rw-rw-r-- 1 andre andre 1.5K Apr 24 20:57 ini.xml
drwxrwxr-x 2 andre andre 4.0K Apr 24 20:57 functions
drwxrwxr-x 90 andre andre 4.0K Apr 24 20:57 ..
drwxrwxr-x 3 andre andre 4.0K Apr 24 20:57 .

$ svn info pt_BR/reference/pdo/ | grep si
URL: https://svn.php.net/repository/phpdoc/pt_BR/trunk/reference/pdo
Repository Root: https://svn.php.net/repository
Repository UUID: c90b9560-bf6c-de11-be94-00142212c4b1
Revision: 339092

$ svn status pt_BR/
$ svn patch patch
svn: E155005: No write-lock in '/home/andre/phpdoc/pt_BR/reference/pdo'
$ svn status pt_BR/
? pt_BR/reference/pdo/pdo
$ svn patch patch
Skipped missing target: 'pt_BR/reference/pdo/pdo/getattribute.xml'
Skipped missing target: 'pt_BR/reference/pdo/pdo/getavailabledrivers.xml'
Summary of conflicts:
  Skipped paths: 2
$ svn status pt_BR/
? pt_BR/reference/pdo/pdo
$

André
Received on 2016-04-25 09:48:36 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.