Unit test

2010-02-23 Thread Vadim Chekan
Hi all, I'm working on a patch for svn but I'm not sure either it passes unit tests. When I run it as "make bdbcheck", fs-test fails test #23: create and modify medium file. But when I "cd subversion/tests/libsvn_fs && fs-test", then it passes all rules (well, with one18th XFAIL). So the question

missing close of rev file in fsfs - get_dir_contents?

2010-02-23 Thread Johan Corveleyn
Hi devs, I think I may have found a bug in fs_fs.c, while I was examining/profiling the code. However, I am completely new at subversion development, and quite unexperienced in c (I'm a java developer actually, with some notions of c, but trying to learn fast), so I may be imagining things. If so,

[PATCH] fix conflict stats for externals during update

2010-02-23 Thread Stefan Sperling
Hi, conflict stats don't seem to be printed for externals during update. Running the attached script gives this output at the end: + svn up --accept=postpone conflict-stats-externals/trunk2 Cconflict-stats-externals/trunk2/alpha Fetching external item into 'conflict-stats-externals/

Re: Why non matching eols in patch and target. (svn patch related)

2010-02-23 Thread Stefan Sperling
On Tue, Feb 23, 2010 at 10:06:04PM +0100, Daniel Näslund wrote: > On Tue, Feb 23, 2010 at 09:27:34PM +0100, Stefan Sperling wrote: > > On Tue, Feb 23, 2010 at 08:57:26PM +0100, Daniel Näslund wrote: > > > I have a test where the target uses '\r\n' and the patch uses '\r' . The > > > eols are consis

Re: [WIP] 'svn patch' should remove empty dirs

2010-02-23 Thread Neels J Hofmeyr
Daniel Näslund wrote: > On Mon, Feb 22, 2010 at 12:44:06PM +0100, Neels J Hofmeyr wrote: >> Re is_dir_empty() comment: When I last created function comments starting >> with "Helper for..." I was told that that's not really the desired way to >> go. We should rather have descriptive names / concise

Re: Will upgrade from 1.6 to 1.7 benifit from dump/reload?

2010-02-23 Thread Neels J Hofmeyr
Daniel Shahaf wrote: > Neels J Hofmeyr wrote on Mon, 22 Feb 2010 at 18:37 +0100: >> About SHA1 on the 1.6 server: the point really is that we need to >> communicate those SHA1 checksums to the client and back. Those API > > Communicate to the client? Eh? If those are the same checksums that go >

Re: Why non matching eols in patch and target. (svn patch related)

2010-02-23 Thread Daniel Näslund
On Tue, Feb 23, 2010 at 09:27:34PM +0100, Stefan Sperling wrote: > On Tue, Feb 23, 2010 at 08:57:26PM +0100, Daniel Näslund wrote: > > On Tue, Feb 02, 2010 at 09:11:52PM +0100, Stefan Sperling wrote: > > > On Tue, Feb 02, 2010 at 08:48:43PM +0100, Daniel Näslund wrote: > > > > Hi Stefan! > > > > >

Re: Why non matching eols in patch and target. (svn patch related)

2010-02-23 Thread Daniel Näslund
On Tue, Feb 23, 2010 at 08:57:26PM +0100, Daniel Näslund wrote: > On Tue, Feb 02, 2010 at 09:11:52PM +0100, Stefan Sperling wrote: > > On Tue, Feb 02, 2010 at 08:48:43PM +0100, Daniel Näslund wrote: [..] > What to do? > [ ] Write documentation saying we can only repair eols on targets with a >

Re: Why non matching eols in patch and target. (svn patch related)

2010-02-23 Thread Stefan Sperling
On Tue, Feb 23, 2010 at 08:57:26PM +0100, Daniel Näslund wrote: > On Tue, Feb 02, 2010 at 09:11:52PM +0100, Stefan Sperling wrote: > > On Tue, Feb 02, 2010 at 08:48:43PM +0100, Daniel Näslund wrote: > > > Hi Stefan! > > > > > > In match_hunk() we try to match lines from the context of the patch wi

RE: svn commit: r915378 - in /subversion/trunk: notes/wc-ng/transitions subversion/libsvn_wc/wc-queries.sql subversion/libsvn_wc/wc_db.c

2010-02-23 Thread Bert Huijben
> -Original Message- > From: phi...@apache.org [mailto:phi...@apache.org] > Sent: dinsdag 23 februari 2010 16:21 > To: comm...@subversion.apache.org > Subject: svn commit: r915378 - in /subversion/trunk: notes/wc-ng/transitions > subversion/libsvn_wc/wc-queries.sql subversion/libsvn_wc/wc

Re: Why non matching eols in patch and target. (svn patch related)

2010-02-23 Thread Daniel Näslund
On Tue, Feb 02, 2010 at 09:11:52PM +0100, Stefan Sperling wrote: > On Tue, Feb 02, 2010 at 08:48:43PM +0100, Daniel Näslund wrote: > > Hi Stefan! > > > > In match_hunk() we try to match lines from the context of the patch with > > lines in the target. Earlier, in init_patch_target() we detect the

Re: Will subversion participate in Google Summer of Code 2010?

2010-02-23 Thread David Glasser
On Tue, Feb 23, 2010 at 6:07 AM, Hyrum K. Wright wrote: > > On Feb 23, 2010, at 7:57 AM, Azhagu Selvan wrote: > >> On Monday 22 February 2010 08:56 PM, Daniel Näslund wrote: >>> On Sun, Feb 21, 2010 at 07:28:13AM -0800, Justin Erenkrantz wrote: >>> On Sun, Feb 21, 2010 at 5:11 AM, Daniel Näsl

Re: Web-Site Bug

2010-02-23 Thread Karl Heinz Marbaise
Hi, have found other links which are not working (security ..).. added a new patch which summarizes the changes. Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177

Re: Web-Site Bug

2010-02-23 Thread Karl Heinz Marbaise
Sorry there was a typo in the patch... Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen

Web-Site Bug

2010-02-23 Thread Karl Heinz Marbaise
Hi there, i have encountered some link failures etc. on the new subversion.apache.org site... First the release-history.html does not contain a entry about 1.6.9 and some links are not working. So i attached the patch as follows. Is this ok to go directly through the dev list...or should i

WC-NG WORKING node

2010-02-23 Thread Julian Foad
I put together this documentation of the WORKING_NODE table today. What parts of it don't make sense? Then I'll check it in. [[[ WORKING_NODE This file is an attempt to document some aspects of the WORKING_NODE table. It is based on the documentation in 'wc-metadata.sql' and other

Re: svn commit: r911804 - /subversion/trunk/subversion/libsvn_wc/wc-metadata.sql

2010-02-23 Thread Hyrum K. Wright
It should be noted that as of 1.6 we've been using SHA1 hashes to index content on the server (which obviously includes all nodes on the client), and we've yet to hear any reports of checksum collisions. I do not doubt that it is theoretically possible, but in practice, the threat of SHA1 colli

Re: svn commit: r911804 - /subversion/trunk/subversion/libsvn_wc/wc-metadata.sql

2010-02-23 Thread Ed Price
For those of us who use Subversion to manage our home directories, or other random collections of files, it's entirely possible and reasonable that we might download some files with identical checksums, just out of curiosity or whatever. I do think it would be a shame if Subversion caused or suffe

Re: migration cvs to svn

2010-02-23 Thread Arfrever Frehtes Taifersar Arahesis
2010-02-23 aissatou diop napisał(a): > hello, > Bonjour je mappelle aicha je suis très heureuse d'être parmi vous , et > je travail dans une boite ou je dois faire la migration de cvs ver > Svn  et  je voudrais avoir lavis d experts pour la mise en place de ce > projet. > en gros on a 3 environnem

migration cvs to svn

2010-02-23 Thread aissatou diop
hello, Bonjour je mappelle aicha je suis très heureuse d'être parmi vous , et je travail dans une boite ou je dois faire la migration de cvs ver Svn et je voudrais avoir lavis d experts pour la mise en place de ce projet. en gros on a 3 environnements : l'environnement de dev , l environnement de

Re: Happy 6th birthday, Subversion.

2010-02-23 Thread Ben Collins-Sussman
And happy birthday to Karl Fogel and Sander Striker as well. :-) On Tue, Feb 23, 2010 at 7:34 AM, Giulio Troccoli wrote: >> On this day six years ago, and after spending about four >> years in the collective community womb, Subversion 1.0 was >> released.  Happy birthday, Subversion! > > Happy

bug report: ra_serf gets PROPFIND failure on certain non-ASCII paths

2010-02-23 Thread C. Michael Pilato
Got the following bug report from one of our CollabNet Asia peers. I've not attempted to reproduce the problem myself. This bug was experienced using a 1.6.x client, but I don't know exactly which 'x'. Anybody else seen similar? -

Re: svn commit: r911307 - /subversion/trunk/Makefile.in

2010-02-23 Thread Philip Martin
l...@apache.org writes: > Author: lgo > Date: Thu Feb 18 10:11:06 2010 > New Revision: 911307 > > URL: http://svn.apache.org/viewvc?rev=911307&view=rev > Log: > Make 'make check' run build/transform_libtool_scripts.sh so that the test > scripts find their shared libs correctly without needing to r

Re: contrib hook enforcer throws on empty renamed file

2010-02-23 Thread icm
Mockford, Ian writes: [...] > The problem seems to be that enforcer always expects a "diff" output > following the file rename, but if the file is empty, svnlook diff > shows no diff output bars. > > (enforcer using svnlook version 1.6.9 (r901367), on Windows XP) > > Can anyone confirm this is

Re: Will subversion participate in Google Summer of Code 2010?

2010-02-23 Thread Hyrum K. Wright
On Feb 23, 2010, at 7:57 AM, Azhagu Selvan wrote: > On Monday 22 February 2010 08:56 PM, Daniel Näslund wrote: >> On Sun, Feb 21, 2010 at 07:28:13AM -0800, Justin Erenkrantz wrote: >> >>> On Sun, Feb 21, 2010 at 5:11 AM, Daniel Näslund >>> wrote: >>> Hi! Google Summer of

Re: Will subversion participate in Google Summer of Code 2010?

2010-02-23 Thread Azhagu Selvan
On Monday 22 February 2010 08:56 PM, Daniel Näslund wrote: On Sun, Feb 21, 2010 at 07:28:13AM -0800, Justin Erenkrantz wrote: On Sun, Feb 21, 2010 at 5:11 AM, Daniel Näslund wrote: Hi! Google Summer of Code is on for 2010 [1]. Is there any interest in participating this year? If so,

RE: Happy 6th birthday, Subversion.

2010-02-23 Thread Giulio Troccoli
> On this day six years ago, and after spending about four > years in the collective community womb, Subversion 1.0 was > released. Happy birthday, Subversion! Happy birthday. And thank you to all the developers for making it what it is now (and for keep improving it). Although we (the users) wo

Happy 6th birthday, Subversion.

2010-02-23 Thread C. Michael Pilato
On this day six years ago, and after spending about four years in the collective community womb, Subversion 1.0 was released. Happy birthday, Subversion! -- C. Michael Pilato CollabNet <> www.collab.net <> Distributed Development On Demand signature.asc Description: OpenPGP digital s

contrib hook enforcer throws on empty renamed file

2010-02-23 Thread Mockford, Ian
Using the enforcer script from contrib/hooks, I get an error when a commit includes a renamed empty file, for example: AssertionError: Expected left file info, got: 'Deleted: trunk/EmptyDocToBeRenamed.txt' This only happens if the file is empty. The exact result seems to depend on the order in w

Re: [WIP] 'svn patch' should remove empty dirs

2010-02-23 Thread Julian Foad
Daniel Näslund wrote: > > > Just a quick. > > > [ ] Yes, using APR forces you to a lot of boilerplate. > > > > You mean a lot of opaque APIs? With a (very) quick glance, I don't see any > > unusual use of APR. > > Ok. But could someone atleast tell me where to find a linked list in APR? APR does