Re: How to recognize commit failure via hooks

2012-02-23 Thread Daniel Shahaf
Lars Klonowski wrote on Thu, Feb 23, 2012 at 10:42:40 +0100: > The post-commit hook gets a revision parameter and I don't see a > possibility how to determine which transaction it came from. This has been implemented for 1.8.0: http://subversion.apache.org/docs/release-notes/1.8#hooks-post-commit

Re: Checksum mismatch between 1.4.2 server and 1.7 client

2012-02-23 Thread Daniel Shahaf
Nate Parsons wrote on Thu, Feb 23, 2012 at 16:46:55 -0500: > * ra_serf : Module for accessing a repository via WebDAV protocol using serf. > - handles 'http' scheme > - handles 'https' scheme > > If there is any other information I could provide, let me know. Are you able to rebuild --with-ne

Re: Checksum mismatch between 1.4.2 server and 1.7 client

2012-02-24 Thread Daniel Shahaf
Nate Parsons wrote on Fri, Feb 24, 2012 at 14:24:30 -0500: > On Fri, Feb 24, 2012 at 12:46 AM, Daniel Shahaf wrote: > > Nate Parsons wrote on Thu, Feb 23, 2012 at 16:46:55 -0500: > >> * ra_serf : Module for accessing a repository via WebDAV protocol using > >> s

Re: Cannot merge into mixed-revision working copy

2012-02-24 Thread Daniel Shahaf
e.org/docs/community-guide/issues#reporting-bugs Thanks Daniel Joel Low wrote on Sat, Feb 25, 2012 at 11:38:12 +0800: > Hello, > > I'm trying to do a remote-URL/remote-URL merge (for vendor drops) into my > working copy which contains externals (for the binaries). When both are > u

Re: Cannot merge into mixed-revision working copy

2012-02-24 Thread Daniel Shahaf
Daniel Shahaf wrote on Sat, Feb 25, 2012 at 06:08:17 +0200: > --allow-mixed-revisions, (This is an argument to 'svn merge'.) > but the code shouldn't care about the revision > of the external for the purposes of this check. > > Can you provide a reproduction

Re: Cannot merge into mixed-revision working copy

2012-02-24 Thread Daniel Shahaf
Joel Low wrote on Sat, Feb 25, 2012 at 13:17:20 +0800: > Hi Daniel, > > > -Original Message- > > From: Daniel Shahaf [mailto:danie...@elego.de] > > Sent: Saturday, 25 February, 2012 12:38 PM > > To: Joel Low > > Cc: users@subversion.apache.org >

Re: Cannot merge into mixed-revision working copy

2012-02-25 Thread Daniel Shahaf
re are any > further problems. > > Thanks for your help Daniel! > > Joel Sounds good, thanks for your persistence. If you can figure out how to reproduce the merge errors, or the svnversion-v.-'svn st' inconsistency, please do let us know. For future reference, when `svn

Re: predecessor count for the root node-revision is wrong message

2012-02-27 Thread Daniel Shahaf
tion. I guess Jason means "the same set of tree/text/prop/revprop changes" when he says "it", but by the nature of the bug it may well have to do with some concurrency issues on the server --- i.e., it depends on more than just the contents being committed. > Daniel might

Re: predecessor count for the root node-revision is wrong message

2012-02-28 Thread Daniel Shahaf
Daniel Shahaf wrote on Tue, Feb 28, 2012 at 07:17:04 +0200: > Stefan Sperling wrote on Tue, Feb 28, 2012 at 03:18:35 +0100: > > On Mon, Feb 27, 2012 at 03:25:00PM -0800, Jason Wong wrote: > > > I guess I am wondering that if this is the case, then why is it that > > >

Re: predecessor count for the root node-revision is wrong message

2012-02-28 Thread Daniel Shahaf
Jason Wong wrote on Mon, Feb 27, 2012 at 07:36:39 -0800: > On Thu, Feb 16, 2012 at 12:14 PM, Daniel Shahaf wrote: > > > > > The output from these two tells me two things: > > > > 1. The minfo-cnt value is reasonable (within a typical ballpark). > > That'

Re: predecessor count for the root node-revision is wrong message

2012-02-29 Thread Daniel Shahaf
ables the new 'membuffer' cache backend, reverting to another older backend called 'inprocess'. @Justin -- thanks for the information. I've asked Jason upthread some questions (eg, whether there patterns of commits concurrent to the failing ones), which likely apply to yo

Re: predecessor count for the root node-revision is wrong message

2012-02-29 Thread Daniel Shahaf
Justin Johnson wrote on Wed, Feb 29, 2012 at 10:25:38 -0600: > On Wed, Feb 29, 2012 at 10:15 AM, Daniel Shahaf wrote: > > - Are the failing revisions always small (eg: just a URL-URL copy), > > or always large (eg: results of a merge)? > > > > > As mentioned bef

Re: predecessor count for the root node-revision is wrong message

2012-02-29 Thread Daniel Shahaf
Justin Johnson wrote on Wed, Feb 29, 2012 at 11:11:18 -0600: > On Wed, Feb 29, 2012 at 10:35 AM, Daniel Shahaf wrote: > > > Justin Johnson wrote on Wed, Feb 29, 2012 at 10:25:38 -0600: > > > On Wed, Feb 29, 2012 at 10:15 AM, Daniel Shahaf > > wrote: > > >

Re: Subversion for object code

2012-02-29 Thread Daniel Shahaf
Helmut Zeisel wrote on Wed, Feb 29, 2012 at 10:41:13 +0100: > My interpretation of this is that "representation-sharing" works well > enough for compiled C++ code, i.e. if I change 2% of source code and > commit the changed objects and libs, then typically a comparable > amount (+/- 2%) of the obje

Re: Subversion-LDAP problems

2012-02-29 Thread Daniel Shahaf
Philipp Gühring wrote on Wed, Feb 29, 2012 at 12:31:36 +0100: > Hi, > > I am having a problem with Subversion+LDAP: > I have a repository with approximately a million files. > The subversion client sends every file a HTTP request to the Apache server. What kind of requests? GETs or PUTs? Are yo

Re: predecessor count for the root node-revision is wrong message

2012-03-01 Thread Daniel Shahaf
Justin Johnson wrote on Thu, Mar 01, 2012 at 08:28:20 -0600: > To make sure I understand the issue, should I be concerned about the > repositories and our ability to reproduce the history or recover from any > corruption that this bug may have caused? The only known (and predicted) effect of the e

Re: Feature request: allow for relative working copy paths in svn:externals definition

2012-03-02 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, Mar 01, 2012 at 17:27:52 +0100: > On Thu, Mar 01, 2012 at 04:35:32PM +0100, Humm, Markus wrote: > > In File > > > > »D:\Development\SVN\Releases\TortoiseSVN-1.7.5\ext\subversion\subversion\libsvn_wc\wc_db.c«, > > Zeile 2890: Assert-Anweisung schlug fehl > > (svn_di

Re: subversion externals issue

2012-03-02 Thread Daniel Shahaf
Ryan Schmidt wrote on Thu, Mar 01, 2012 at 08:46:08 -0600: > > On Mar 1, 2012, at 02:59, Neson Maxmelbin (RBEI/EMT4) wrote: > > > I have externals from other repo's configured in my master project under > > trunk. > > When I tag the trunk and then checkout the tag, the externals are not > > che

Re: predecessor count for the root node-revision is wrong message

2012-03-02 Thread Daniel Shahaf
Justin Johnson wrote on Thu, Mar 01, 2012 at 07:45:08 -0600: > On Wed, Feb 29, 2012 at 4:14 PM, Justin Johnson > wrote: > > On Wed, Feb 29, 2012 at 11:22 AM, Daniel Shahaf wrote: > >> ... so please try SVNInMemoryCacheSize 0, and see if that makes the > >> issue les

Re: Subversion for object code

2012-03-02 Thread Daniel Shahaf
Helmut Zeisel wrote on Fri, Mar 02, 2012 at 10:28:16 +0100: > > Original-Nachricht > > Datum: Thu, 1 Mar 2012 09:07:41 +0200 > > Von: Daniel Shahaf > > > Representation sharing works only on complete files. (If two files are > > not byte-for-

Re: predecessor count for the root node-revision is wrong message

2012-03-02 Thread Daniel Shahaf
Daniel Shahaf wrote on Wed, Feb 29, 2012 at 18:15:41 +0200: > Justin, Jason, > > Some things you could do are: > > - What RA method do you use? svn:// or http://? > Justin, what operating system does your server run?

Re: predecessor count for the root node-revision is wrong message

2012-03-02 Thread Daniel Shahaf
hing, right? That's the error code to watch for for many FS error conditions: % ./tools/dev/which-error.py E160004 00160004 SVN_ERR_FS_CORRUPT > Thanks. > > Jason For convenience I'm attaching a patch that implements both of my suggestions. Let us know please if it has any e

Re: Feature request: allow for relative working copy paths in svn:externals definition

2012-03-02 Thread Daniel Shahaf
Humm, Markus wrote on Fri, Mar 02, 2012 at 12:13:28 +0100: > Hello, > > thanks for your answer. > > While it is nice that you have concerns about my security in case > I should have to deal with malicious servers, I would prefer to have > a choice. Maybe some setting wich allows me, based on the

Re: predecessor count for the root node-revision is wrong message

2012-03-02 Thread Daniel Shahaf
Daniel Shahaf wrote on Fri, Mar 02, 2012 at 12:21:46 +0200: > Daniel Shahaf wrote on Wed, Feb 29, 2012 at 18:15:41 +0200: > > Justin, Jason, > > > > Some things you could do are: > > > > - What RA method do you use? svn:// or http://? > > > > Justi

Re: predecessor count for the root node-revision is wrong message

2012-03-02 Thread Daniel Shahaf
Jason Wong wrote on Fri, Mar 02, 2012 at 07:32:38 -0800: > On Fri, Mar 2, 2012 at 2:58 AM, Daniel Shahaf wrote: > > Jason Wong wrote on Thu, Mar 01, 2012 at 10:01:26 -0800: > >> I have had a developer here create a build of the latest SVN code > >> with your changes yo

Re: undefined reference error with subversion 1.7.3

2012-03-03 Thread Daniel Shahaf
Ravish Nayak S. R. wrote on Sun, Mar 04, 2012 at 01:48:54 +0800: > After executing below command I got undefined reference error > > > bin/gcc > -L/source_path/apache/subversion/1.7.3/rhe4-x86_64/subversion/libsvn_client/.libs > -L/source_path/apache/subversion/1.7.3/rhe4-x86_64/subversion/li

Re: Getting initial sync from multiple users to single repository

2012-03-05 Thread Daniel Shahaf
May be useful here: 'svn checkout --force' will take an existing tree and make it into a working copy. (Preexisting files will show as local mods when the command finishes.) Les Mikesell wrote on Mon, Mar 05, 2012 at 14:06:55 -0600: > On Mon, Mar 5, 2012 at 1:29 PM, Peter Flynn wrote: > > > > I

Re: svn: Attempted to get textual contents of a *non*-file node

2012-03-05 Thread Daniel Shahaf
ults Could you file an issue? Perhaps send a patch adding a regression test for this (in Python)? (See subversion/tests/cmdline/README) Thanks -- Daniel

Re: Memory leak in mod_sav_svn?

2012-03-07 Thread Daniel Shahaf
Presumably, tcpdump/wireshark of the response headers will be useful. Daniel (no time to dive deeply into this right now, sorry) Fridtjof Busse wrote on Tue, Mar 06, 2012 at 12:44:06 +0100: > Hi, > > answering my own post: > > * Fridtjof Busse : > > > > The httpd pro

Re: svn on OSX 10.7.3 can't find CA certificates

2012-03-09 Thread Daniel Shahaf
Zachary, Saw your other emails. If you'd like help from this mailing list it's best to ask us a self-contained question. Forwarding random threads and raw transcripts to this list will get you nowhere. Daniel Greg Stein wrote on Thu, Mar 08, 2012 at 20:26:26 +: > On Thu, Ma

Re: I want to know did svn_wc_entry support for path like D:\Path\To\Repo? or we must to use path like D:/Path/To/Repo

2012-03-11 Thread Daniel Shahaf
Yes to the second question, see svn_path.h and svn_dirent_uri.h 罗勇刚(Yonggang Luo) wrote on Sun, Mar 11, 2012 at 22:43:42 +0800: > typedef struct { > PyObject_HEAD > svn_wc_adm_access_t *adm; > apr_pool_t *pool; > } AdmObject; > AdmObject admobj; > > temp_pool = Pool(NULL); > if (temp_pool == N

Re: svn copy between 2 repos

2012-03-11 Thread Daniel Shahaf
Nico Kadel-Garcia wrote on Sun, Mar 11, 2012 at 11:14:41 -0400: > On Sun, Mar 11, 2012 at 7:10 AM, dhanushka ranasinghe < > parakrama1...@gmail.com> wrote: > > > Is it possible to run svn copy between two repositorys > > > > Thanks > > Dhanushka > > > Nope. If you want to bring along the history o

Re: path.c patch for recognizing CJK filename in OSX

2012-03-11 Thread Daniel Shahaf
Please resubmit this to dev@. See http://subversion.apache.org/patches for how to best format submissions. Thanks! Ryan Schmidt wrote on Sat, Mar 10, 2012 at 15:41:17 -0600: > > On Mar 10, 2012, at 01:31, crazia wrote: > > > The following patch enables 'svn command' to recognizing CJK filename

Re: Feature request - SVN command to clean a working copy of all unversioned and ignored files and directories

2012-03-11 Thread Daniel Shahaf
Konstantin Kolinko wrote on Sun, Mar 11, 2012 at 01:56:45 +0400: > If you use svn 1.7 (that is you have only ".svn" directory) it is easy to > 1. just delete everything > 2. do your "svn revert". > > The revert will restore missing files and folders from their pristine copies. > > > It would not

Re: I want to know did svn_wc_entry support for path like D:\Path\To\Repo? or we must to use path like D:/Path/To/Repo

2012-03-12 Thread Daniel Shahaf
local style. */ > const char * > svn_path_local_style(const char *path, apr_pool_t *pool); > > > 2012/3/12 Daniel Shahaf > > > Yes to the second question, see svn_path.h and svn_dirent_uri.h > > > > 罗勇刚(Yonggang Luo) wrote on Sun, Mar 11, 2012 at 22:43:42 +0800: >

Re: Cannot accept non-LF line endings in 'svn:ignore' property

2012-03-14 Thread Daniel Shahaf
Andreas Krey wrote on Wed, Mar 14, 2012 at 15:33:35 +0100: > Hi, > > the full glory: > > svn: E175008: Commit failed (details follow): > svn: E175008: At least one property change failed; repository is unchanged > svn: E175002: Error setting property 'ignore': > Cannot accept non-LF line

Re: predecessor count for the root node-revision is wrong message

2012-03-14 Thread Daniel Shahaf
Jason Wong wrote on Tue, Mar 13, 2012 at 06:57:59 -0700: > On Fri, Mar 2, 2012 at 8:12 AM, Daniel Shahaf wrote: > > Jason Wong wrote on Fri, Mar 02, 2012 at 07:32:38 -0800: > >> On Fri, Mar 2, 2012 at 2:58 AM, Daniel Shahaf wrote: > >> > Jason Wong wrote on Thu,

Re: predecessor count for the root node-revision is wrong message

2012-03-14 Thread Daniel Shahaf
ating. When we make progress or find a fix, we will announce that. The best place to watch for such announcements is by registering to the issue tracker and adding yourself to the CC list on issue #4129 (link below): http://subversion.tigris.org/issues/show_bug.cgi?id=4129 Please keep discussion of

Re: sqlite, afs and svn 1.7

2012-03-15 Thread Daniel Shahaf
Matyas Selmeci wrote on Thu, Mar 15, 2012 at 13:48:03 -0500: > Hi all, > > So apparently SVN 1.7 uses Sqlite to store working copy metadata. It > also uses Sqlite to store repository metadata, but only if > repo-sharing is enabled. Is that correct? > Yes, except that you mean "representation sha

Re: a simple recipe to 'obliterate' an item from svn repository

2012-03-16 Thread Daniel Shahaf
Your recipe should work, assuming the file was added in r100 and never changed or copied afterwards. You may pass --deltas to 'svnadmin dump' (no reason not to). It'll offset r101:r200 revnums by one in the new repository. Another way is to use svnsync with path-based authz blocking the file (an

Re: R: Re: a simple recipe to 'obliterate' an item from svn repository

2012-03-17 Thread Daniel Shahaf
) in whether the repository supports certain kinds of efficient mergeinfo representations. The latter should be documented in the 1.5 release notes. > Giorgio > > > > From: Daniel Shahaf > > Date: Fri, 16 Mar 2012 21:27:55 +0200 > > > > Your recipe shoul

Re: predecessor count for the root node-revision is wrong message

2012-03-18 Thread Daniel Shahaf
[ cc += dev@. summary for dev@: investigating issue #4129: predecessor count of rN is not incremented by one wrt that of r(N-1); see http://subversion.tigris.org/issues/show_bug.cgi?id=4129 ] Jason Wong wrote on Thu, Mar 15, 2012 at 07:57:47 -0700: > On Wed, Mar 14, 2012 at 5:15 PM, Dan

#4129 is reproducible Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
Daniel Shahaf wrote on Sun, Mar 18, 2012 at 16:28:21 +0200: > [ cc += dev@. summary for dev@: investigating issue #4129: predecessor > count of rN is not incremented by one wrt that of r(N-1); see > http://subversion.tigris.org/issues/show_bug.cgi?id=4129 ] Okay, count me happy :

Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
e repository, > preventing simultaneous operations.Please do let us know if some solution > exists. > In FSFS there are no read locks, and different readers don't interfere with each other or with others. You'll have to describe what you see in more detail. (Exactly what y

Re: #4129 is reproducible Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
Philip Martin wrote on Mon, Mar 19, 2012 at 17:25:22 +: > Philip Martin writes: > > > I can reproduce ove ra_local: > > > > svnadmin create repo > > svn mkdir -mm file://`pwd`/repo/A > > svn mkdir -mm file://`pwd`/repo/B > > svn co file://`pwd`/repo wc1 > > svn co file://`pwd`/repo wc2 > > sv

Re: #4129 is reproducible Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
C. Michael Pilato wrote on Mon, Mar 19, 2012 at 13:57:51 -0400: > Is this problem specific to the FSFS backend? No. % ../runpytest svnadmin mergeinfo_race --fs-type bdb 2012-03-19 20:21:44 [WARNING] CWD: /home/daniel/src/svn/t1/subversion/tests/cmdline 2012-03-19 20:21:44 [WARNING] EXCEPT

Re: #4129 is reproducible Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
Philip Martin wrote on Mon, Mar 19, 2012 at 18:31:41 +: > Daniel Shahaf writes: > > > C. Michael Pilato wrote on Mon, Mar 19, 2012 at 13:57:51 -0400: > >> Is this problem specific to the FSFS backend? > > > > No. > > > > % ../runpytest svnadmin m

Re: #4129 is reproducible Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
LL soemwehere? Something else? > > Moving update_ancestry from tree.c to dag.c is one way to fix the > problem. Daniel also suggested removing the node_revision member of > dag_node_t altogether and relying on new 1.7 caching to give us the > performance. I suppose we would still need a patch like this for 1.6. > ++1

Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
Jason Wong wrote on Mon, Mar 19, 2012 at 13:41:19 -0700: > Hello Daniel, Philip. > > I have been following the thread: "#4129 is reproducible Re: > predecessor count for the root node-revision is wrong message". > It looks like you all have it figured out now. Good job.

Re: predecessor count for the root node-revision is wrong message

2012-03-19 Thread Daniel Shahaf
Jason Wong wrote on Mon, Mar 19, 2012 at 15:34:53 -0700: > On Mon, Mar 19, 2012 at 1:56 PM, Daniel Shahaf wrote: > > Jason Wong wrote on Mon, Mar 19, 2012 at 13:41:19 -0700: > >> Hello Daniel, Philip. > >> > >> I have been following the thread: "#4129 i

Re: predecessor count for the root node-revision is wrong message

2012-03-20 Thread Daniel Shahaf
Daniel Shahaf wrote on Tue, Mar 20, 2012 at 00:49:06 +0200: > The time until 1.7.5 is counted in weeks, and 1.6.18 is scheduled to be > released next week. > The fix was merged to 1.6.x@HEAD today and barring surprises will be included in 1.6.18.

Re: random sort of svn status and svn diff

2012-03-21 Thread Daniel Shahaf
Philip Martin wrote on Wed, Mar 21, 2012 at 00:51:53 +: > Sérgio Basto writes: > > > On Tue, 2012-03-20 at 19:23 -0500, Ryan Schmidt wrote: > >> On Mar 20, 2012, at 19:17, Sérgio Basto wrote: > >> > >> > Hi, I am facing a problem > >> > I do a svn diff | lsdiff > >> > I got file in random

Re: random sort of svn status and svn diff

2012-03-21 Thread Daniel Shahaf
Sérgio Basto wrote on Wed, Mar 21, 2012 at 07:22:03 +: > Hi, Dev list , I want to fix random sort of svn status and svn diff, on > recent code of svn, it just put a sort somewhere, could someone point me > the directory in the source code, where is the code of svn frontend > commands like diff

relation to minfo-cnt bug Re: predecessor count for the root node-revision is wrong message

2012-03-21 Thread Daniel Shahaf
g has occurred in your history? You can do that by duplicating your repository using svnsync or dump|load, running dump-noderev.pl on / of both copies at the same revisions, and comparing the minfo-cnt values. I would be interested in knowing whether they are equal between the two copies. Thanks, D

Re: possible switch bug in conjunction with file-externals

2012-03-21 Thread Daniel Shahaf
x27;ve looked but aren't sure whether one of the existing bugs covers this issue, we can help make that determination. > * do I report the bug to the issue tracker or does one of you gurus > report the issue? > No hard and fast rule here. > regards, Schludi >

Re: possible switch bug in conjunction with file-externals

2012-03-21 Thread Daniel Shahaf
Wolfgang Schludi wrote on Wed, Mar 21, 2012 at 13:59:46 +0100: > Am 21.03.2012 10:14, schrieb Daniel Shahaf: > >Schludi Wolfgang wrote on Tue, Mar 20, 2012 at 15:19:39 +: > >[...] > >>* is the bug already in the issue tracker? > >Have you looked? If

Re: Using info2 in perl

2012-03-21 Thread Daniel Shahaf
the svn_client_info2() C API (in doxygen, or in svn_client.h) - Drop the ctx parameter - Drop any baton parameters - When in doubt about some object --- print it. ref() and Dumper() help too. HTH, Daniel > Thanks, > Jim

Re: getversion.py invalid syntax

2012-03-22 Thread Daniel Shahaf
No, it's not a known bug. We require 2.5 or newer, so we'll be happy to accept patches here as long as they don't break compat with those older versions. Daniel (I'm assuming there are other except: statements affected by this) Brad Lemings wrote on Thu, Mar 22, 2012 at 09:

Re: predecessor count for the root node-revision is wrong message

2012-03-22 Thread Daniel Shahaf
Justin Johnson wrote on Thu, Mar 22, 2012 at 13:03:04 -0500: > On Tue, Mar 20, 2012 at 2:32 PM, Daniel Shahaf wrote: > > > Daniel Shahaf wrote on Tue, Mar 20, 2012 at 00:49:06 +0200: > > > The time until 1.7.5 is counted in weeks, and 1.6.18 is scheduled to be >

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Daniel Shahaf
The relevant code is in libsvn_repos/authz.c. Look at the call to svn_repos_authz_read() in mod_authz_svn.c: the file is read and parsed once per connection. I guess you could cache the parsed svn_authz_t struct in a longer-lived pool, or perhaps increase the lifetime of connections (compare the

Relation to mergeinfo-count corruption Re: #4129 is reproducible Re: predecessor count for the root node-revision is wrong message

2012-03-25 Thread Daniel Shahaf
(Just changing the subject so mergeinfo gurus spot this thread too. tldr: #4129 also explains a bug whereby FSFS minfo-cnt values were set to the value read from uninitialized memory (and which might therefore have been smaller than the correct value).) Philip Martin wrote on Fri, Mar 23, 2012 at

Re: Subversion 1.7 server & client issue : not able to commit E160013 path not found

2012-03-26 Thread Daniel Shahaf
"SVNAdvertiseV2Protocol off" might be a workaround. Note that there are known issues with httpd-2.4 support in svn with bdb repositories. vishwajeet singh wrote on Mon, Mar 26, 2012 at 15:13:16 +0530: > Hi All, > > I recently upgraded from subversion server from 1.6 to 1.7, everything > works f

Re: Non unicode characters in log messages

2012-03-26 Thread Daniel Shahaf
What version of svn on the client and on the server? (Go to http://../ in a browser and check hte footer) Trent Fisher wrote on Mon, Mar 26, 2012 at 12:35:27 -0400: > I think I found a bug relating to handling of non-unicode characters > in log messages. When I do an "svn log" via the file:// ur

Re: Non unicode characters in log messages

2012-03-26 Thread Daniel Shahaf
Yeah, a similar issue was fixed for the post-commit hook error output. FWIW it works for me with a trunk client/server --- % $svn log http://localhost:8081/t/r1 r1 | daniel | 2012-03-26 20:26:56 +0200 (Mon, 26 Mar 2012) | 2

Re: svn 1.7: how to recover from a lost pristine file

2012-03-28 Thread Daniel Shahaf
Johan Corveleyn wrote on Wed, Mar 28, 2012 at 16:38:41 +0200: > Thanks both for your help. Maybe this will help others running in the > same situation ... Do you know what cause the pristine to disappear in the first place?

Re: relation to minfo-cnt bug Re: predecessor count for the root node-revision is wrong message

2012-03-28 Thread Daniel Shahaf
know from the dev@ thread, Philip identified that part and fixed it too -- after my above email. Thanks again for your help in chasing down this bug. It was backported today towards 1.7.5 too. Cheers, Daniel

Re: Merge bug -- svn:keywords and conflict resolution

2012-03-29 Thread Daniel Shahaf
Stephen Butler wrote on Thu, Mar 29, 2012 at 09:35:27 +0200: > > > On Mar 29, 2012, at 1:24 , Varnau, Steve (Seaquest R&D) wrote: > > > I did not get any responses on this bug report, neither confirming nor > > denying. > > We're an open community, as you know. If something is neither confirm

Re: Do all SVN clients run with all SVN servers?

2012-03-29 Thread Daniel Shahaf
Nico Kadel-Garcia wrote on Thu, Mar 29, 2012 at 07:53:05 -0400: > On Thu, Mar 29, 2012 at 6:59 AM, Mark Phippard wrote: > > > On Thu, Mar 29, 2012 at 6:35 AM, Ben Stover wrote: > > > As I can see there are a couple of different SVN servers and mutiple SVN > > clients. > > > > > > Do all SVN clie

Re: Do all SVN clients run with all SVN servers?

2012-03-29 Thread Daniel Shahaf
Nico Kadel-Garcia wrote on Thu, Mar 29, 2012 at 20:33:44 -0400: > On Thu, Mar 29, 2012 at 8:03 AM, Daniel Shahaf wrote: > > > Nico Kadel-Garcia wrote on Thu, Mar 29, 2012 at 07:53:05 -0400: > > > On Thu, Mar 29, 2012 at 6:59 AM, Mark Phippard > > wrote: > > >

Re: relation to minfo-cnt bug Re: predecessor count for the root node-revision is wrong message

2012-03-30 Thread Daniel Shahaf
Jason Wong wrote on Fri, Mar 30, 2012 at 11:39:02 -0700: > On Wed, Mar 28, 2012 at 12:00 PM, Daniel Shahaf wrote: > > Jason Wong wrote on Wed, Mar 28, 2012 at 11:49:20 -0700: > >> dump-noderev.pl /repo / > >> - > >> id: 0.0.r62104/28771

Re: svnsync: Error while replaying commit

2012-04-02 Thread Daniel Shahaf
Haven't read the whole thread, but the problem here has to do with r81. r80 moved fine and I expect `svnlook youngest dest` = 80. If the source repos has authz set up or has undergone history surgeries that's likely related. You could try running: % svnserve --log-file=foo.log -dr. % svnsync sync

Re: Separate options to enable text deltas and property changes for 'replay' operation

2012-04-07 Thread Daniel Shahaf
Dmitry Batrak wrote on Fri, Apr 06, 2012 at 00:30:06 +0400: > The most convenient API call to fetch the required data I've found is > 'replay_range', as it returns both 'structural' changes and properties > changes. But property changes can only be received together with text > deltas, which in thi

Re: svn annotate requires Start revision precede end revision

2012-04-08 Thread Daniel Shahaf
nes --- is sound. And I'd love to see it implemented. Daniel > Regards, Ben >

Re: wc_db.c line 6752: assertion failed (svn_dirent_is_absolute(local_abspath))

2012-04-11 Thread Daniel Shahaf
Frank Hsieh wrote on Tue, Apr 10, 2012 at 23:51:18 -0700: > When I type 'svn://12.34.56.789/foo in tortoisesvn repository browser, Do you type "12.34.56.789" literally, or do you type a valid IP (one in which all four octets are between 0 and 255)? > this exception happens. > > > --

Re: Subversion build on windows

2012-04-11 Thread Daniel Shahaf
What version of svn? What happens if you delete the [mod_dontdothat] stanza from build.conf before running gen-make.py? arun kumar wrote on Wed, Apr 11, 2012 at 10:58:12 +0530: > Hi, > > I'm trying to build Subversion on Windows. I got following error when I ran > the script gen-make.py > > >

Re: wc_db.c line 6752: assertion failed (svn_dirent_is_absolute(local_abspath))

2012-04-11 Thread Daniel Shahaf
I typed a valid IP. > > I think the root cause might be the single quote before svn:// (I forgot to > point it out.) > > If I typed svn URL without the single quote, everything goes smoothly. > > Frank > -Original Message- > From: Daniel Shahaf [mailto:danie...@

Re: Subversion build on windows

2012-04-12 Thread Daniel Shahaf
> On Wed, Apr 11, 2012 at 2:34 PM, Daniel Shahaf wrote: > > > What version of svn? What happens if you delete the [mod_dontdothat] > > stanza from build.conf before running gen-make.py? > > > > arun kumar wrote on Wed, Apr 11, 2012 at 10:58:12 +0530: > > > H

Re: Where is Subversion 1.7's pristine copy of a given file?

2012-04-13 Thread Daniel Shahaf
Ryan Schmidt wrote on Fri, Apr 13, 2012 at 03:55:34 -0500: > I have not upgraded to Subversion 1.7 yet. I'm still on 1.6.17. > > One reason is that there is a script I like to use, that I wrote, called > svntwdiff. It goes like this: > > > $ cat svntwdiff > #!/bin/bash > You could use #!/bin

Re: Where is Subversion 1.7's pristine copy of a given file?

2012-04-13 Thread Daniel Shahaf
Ryan Schmidt wrote on Fri, Apr 13, 2012 at 04:55:17 -0500: > > On Apr 13, 2012, at 04:43, Daniel Shahaf wrote: > > > 1.x-compatible: > > use 'svn cat' to obtain a tempfile. > > That's a good idea. It sounds like this would be less work and >

Re: Where is Subversion 1.7's pristine copy of a given file?

2012-04-13 Thread Daniel Shahaf
Ryan Schmidt wrote on Fri, Apr 13, 2012 at 05:28:41 -0500: > > On Apr 13, 2012, at 04:58, Daniel Shahaf wrote: > > > Ryan Schmidt wrote on Fri, Apr 13, 2012 at 04:55:17 -0500: > >> > >> On Apr 13, 2012, at 04:43, Daniel Shahaf wrote: > >> > >&g

Re: svnrdump fails when access control restrictions are in place

2012-04-13 Thread Daniel Shahaf
When --incremental isn't used svnrdump tries to dump the full tree and runs into the authz restrictions. Do you have a suggestion for an alternative behaviour? Andrew Sasak wrote on Fri, Apr 13, 2012 at 11:58:50 -0400: > svnrdump fails when access control restrictions are in place on the > server

Re: svnrdump fails when access control restrictions are in place

2012-04-14 Thread Daniel Shahaf
non-trivial change for an uncommon use case. > What do you expect to happen in the following use-case: 1. the sync source URL is the repos root 2. the following authz file applies: [/] * = [/A/B] sasak = r ? > On Fri, Apr 13, 2012 at 1:25 PM, Daniel Shahaf > wrote: > > Wh

Re: Subversion 1.6.18 released

2012-04-14 Thread Daniel Shahaf
Stefan Sperling wrote on Sat, Apr 14, 2012 at 17:00:19 +0200: > On Sat, Apr 14, 2012 at 10:05:36AM -0400, Nico Kadel-Garcia wrote: > > It's cool. I've seen projects fork and keep the same name before, and it > > wasn't pretty. > > Just to be clear: It's not a fork. It's the same project under a ne

Re: Where stored

2012-04-14 Thread Daniel Shahaf
Nico Kadel-Garcia wrote on Sat, Apr 14, 2012 at 14:57:07 -0400: > On Tue, Apr 10, 2012 at 2:57 AM, Daniil S wrote: > > > Hello. > > > > Documentation says: > > > > Initialize a destination repository for synchronization from > > another repository. > > … > > $ svnsync initialize http

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Daniel Shahaf
What's the output of xxd pre-commit ls -dl testrepo/hooks/ Armando Perico wrote on Sun, Apr 15, 2012 at 13:02:35 +0200: > Hello, > > I'm having problems with hook scripts (pre-commit or post-commit) > - When I try to commit, the svn commit is not performing completely, it > is returning "Commit

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Daniel Shahaf
amp;2 .exi > 020: 7420 300at 0. > > ls -dl testrepo/hooks/ > drwxrwxrwx. 2 apache apache 4096 Apr 15 10:56 testrepo/hooks/ > > On Sun, Apr 15, 2012 at 5:30 PM, Daniel Shahaf wrote: > > > What's the output of > > > > xxd

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Daniel Shahaf
(exit code 255) with no output > > On Sun, Apr 15, 2012 at 10:02 PM, Daniel Shahaf > wrote: > > > Both of these look normal. Please keep the list in the CC. > > > > Armando Perico wrote on Sun, Apr 15, 2012 at 22:00:41 +0200: > > > # xxd pre-commit

Re: 'svn cleanup' ignores externals

2012-04-16 Thread Daniel Shahaf
und it a bit inconsistent that 'working copy' has different meanings for > 'svn update' and 'svn cleanup'. > I think we can fix that in 1.8. We have --include-externals and --ignore-externals flags; we just need to decide whether to include externals by default or

Re: 'svn cleanup' ignores externals

2012-04-16 Thread Daniel Shahaf
Kuno Meyer wrote on Mon, Apr 16, 2012 at 16:51:29 +0200: > Daniel Shahaf wrote on Mon, 16 Apr 2012 14:48:45 +0300: > > Kuno Meyer wrote on Mon, Apr 16, 2012 at 10:31:33 +: > > > Is it by design that 'svn cleanup' ignores externals and that there is >

Re: 'svn cleanup' ignores externals

2012-04-16 Thread Daniel Shahaf
Thanks for the pointers, Konstantin. I've promoted the bug to 1.8-consider. (It's not a release blocker.) Konstantin Kolinko wrote on Tue, Apr 17, 2012 at 03:02:23 +0400: > 2012/4/16 Daniel Shahaf : > > Kuno Meyer wrote on Mon, Apr 16, 2012 at 16:51:29 +0200: > >> Da

Re: Implementations of an SVN/DAV aware proxy?

2012-04-17 Thread Daniel Shahaf
svn 1.7 is supposed to follow 301(permanent)/302(temporary) redirects. Are you on 1.7.x? Tim Watts wrote on Tue, Apr 17, 2012 at 09:25:01 +0100: > Lorenz yahoo.com> wrote: > > > Tim Watts wrote: > >> [...] > >> We're changing SVN servers from mod-dav-svn to SCM-Manager - and one > >> minor fly in

Re: error configure apr-util for subversion

2012-04-19 Thread Daniel Shahaf
rowing down your question: send only relevant information (five pastebins are most likely too much), and only relevant information (apr's --prefix flag seems particularly relevant, and I don't know if you sent it). Cheers Daniel

Re: XDG Base Directory Specification support?

2012-04-19 Thread Daniel Shahaf
For what configuration and what data? Client config? Server config? Working copies? Repositories? Wolfram Nyaa~ wrote on Thu, Apr 19, 2012 at 14:20:38 +0700: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Could Subversion please follow the XDG Base Directory Specification for > the conf

Re: XDG Base Directory Specification support?

2012-04-19 Thread Daniel Shahaf
Wolfram Nyaa~ wrote on Fri, Apr 20, 2012 at 00:32:40 +0700: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/19/2012 11:32 PM, Daniel Shahaf wrote: > > For what configuration and what data? Client config? Server > > config? Working copies? Repositories? >

Re: Planned release date for mod_dav_svn compile error fix (SVN 1.7/Apache 2.4)

2012-04-19 Thread Daniel Shahaf
n function 'dav_svn__log_err': > subversion/mod_dav_svn/util.c:630:20: error: 'dav_error' has no member named > 'save_errno' > subversion/mod_dav_svn/util.c:631:28: error: 'dav_error' has no member named > 'save_errno' > > A patch wa

Re: XDG Base Directory Specification support?

2012-04-20 Thread Daniel Shahaf
Wolfram Nyaa~ wrote on Fri, Apr 20, 2012 at 14:05:17 +0700: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 20.04.2012 1:35, Daniel Shahaf wrote: > > Wolfram Nyaa~ wrote on Fri, Apr 20, 2012 at 00:32:40 +0700: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: script to detect timestamp-mismatches (inefficiency) in (1.7) working copies?

2012-04-20 Thread Daniel Shahaf
Stefan Sperling wrote on Fri, Apr 20, 2012 at 14:38:19 +0200: > Such problems didn't happen during the 1.6->1.7 timeframe as far as I > can see (people got an error message and understood what was going on). > But in the 1.6->1.7 upgrade people had to go through all working copies managed by unma

Re: Using info2 in perl

2012-04-20 Thread Daniel Shahaf
print "$path,$status\n" }, >1, 1, 1, 0); > > print "\n\nUsing status3:\n"; > $s->status3( "", undef, > sub{($path, $status) = @_; > print "$path,$status\n" }, > $SVN::Core

Re: assertion failed (opt || SVN_IS_VALID_REVNUM(rev))

2012-04-23 Thread Daniel Shahaf
t the error message, or the Revision: field if there is no error) > 'D:\Development\SVN\Releases\TortoiseSVN-1.7.6\ext\subversion\subversion\lib > svn_ra_svn\marshal.c' > > line 502: assertion failed (opt || SVN_IS_VALID_REVNUM(rev)) Thanks Daniel

Re: Using info2 in perl

2012-04-23 Thread Daniel Shahaf
/subversion.tigris.org/issues/show_bug.cgi?id=2646 > But that only implements exporting of the functions. So I filed a new issue: > http://subversion.tigris.org/issues/show_bug.cgi?id=4165 > > - Jim > > On Fri, Apr 20, 2012 at 2:39 PM, Daniel Shahaf wrote: > > Hmm.  A qu

<    4   5   6   7   8   9   10   11   12   13   >