Re: What is the scenario for this warning?

2010-11-26 Thread Daniel Shahaf
ect to the repository to investigate whether mergeinfo is inherited from a parent/ancestor of the wc root. So, typically, this should only be a concern if you're working in a wc whose root is not a branch root. (I have a feeling this wasn't quite clear at all...) Daniel Paul Maier wrote on Sat

Re: AW: How to find out the rev number where a file was deleted?

2010-11-28 Thread Daniel Shahaf
[ sorry if I'm repeating; haven't read the whole thread ] Johan Corveleyn wrote on Sun, Nov 28, 2010 at 10:05:15 +0100: > FWIW, you do have a point, Andrey (and others), that this is a valid > use case (finding the rev in which a file was deleted) which isn't > well supported by svn currently. I t

Re: AW: How to find out the rev number where a file was deleted?

2010-11-28 Thread Daniel Shahaf
Stefan Sperling wrote on Sun, Nov 28, 2010 at 16:48:30 +0100: > The real problem is that we want to be able to answer these questions > very fast, and some design aspects work against this. For instance, > FSFS by design does not allow modifying old revisions. So where do > we store the copy-to inf

Re: AW: How to find out the rev number where a file was deleted?

2010-11-28 Thread Daniel Shahaf
Johan Corveleyn wrote on Sun, Nov 28, 2010 at 21:20:28 +0100: > On Sun, Nov 28, 2010 at 6:35 PM, Daniel Shahaf > wrote: > > Stefan Sperling wrote on Sun, Nov 28, 2010 at 16:48:30 +0100: > >> The real problem is that we want to be able to answer these questions > >&

Re: AW: How to find out the rev number where a file was deleted?

2010-11-28 Thread Daniel Becroft
e in repository with 40 commits. > In repository with 40,000 commits things became "a bit" scary Have you tried a combination of 'log -v' and grep? IMHO, that would be the quickest to implement, and simplest to achieve. Cheers, Daniel B.

Re: prevent Linux root from seeing my files

2010-11-30 Thread Daniel Shahaf
Chris Albertson wrote on Mon, Nov 29, 2010 at 11:29:39 -0800: > Absolutely NOTHING will work if a person has physical access to the > server. +1, with the exception of versioning encrypted files. (and we have diff-cmd and such in the config file, which can be used to make 'diff' be useful)

Re: svnsync and new auth realm

2010-11-30 Thread Daniel Shahaf
Just run the svnsync manually once and have it save the password in the config dir. Christian Unger wrote on Mon, Nov 29, 2010 at 13:03:17 +0100: > > > so I have changed the authentication realm of my repository - this rather > small change causes apache to make users re-authenticate against th

Re: svnsync failure when syncing with a repository that used ISO-8859-1 for log messages

2010-11-30 Thread Daniel Shahaf
Danny's patches do qualify as "new features" in this context... (They add new API's and new --flags.) Daniel

Re: subversion cross compile (arm)

2010-11-30 Thread Daniel Shahaf
Takács András wrote on Tue, Nov 30, 2010 at 20:36:55 +0100: > Hi All, > > I have problem with cross-compiling of subversion for arm. I'm using > codesourcery toolchain. (See build details below). > > My test method (after flashing my developement board): > # svnadmin create /var/svn/testrepo > #

Re: subversion cross compile (arm)

2010-11-30 Thread Daniel Shahaf
Takács András wrote on Wed, Dec 01, 2010 at 08:16:56 +0100: > > I suppose the next hint (unless someone has tips specific to arm) would > > be to see the corrupt lines in the revision file --- can you share them? > > You can patch or breakpoint in subversion/libsvn_fs_fs/fs_fs.c (that is > > where

Re: svn:ignore with recursive and non-recursive patterns

2010-12-01 Thread Daniel Shahaf
You can use 'propedit --editor-cmd=script.sh **/', where script.sh appends '*.o' to argv[1]. Another example, the following is a "Fix typo in the log message" idiom: % svn propedit --revprop -r69426 --editor-cmd 'sed -i s/foo/bar/' svn:log Steve Cohen wrote on Wed, Dec 01, 2010 at 12:29:58 -0600:

Re: pattern for specifying svn:ignore for files without extension

2010-12-01 Thread Daniel Shahaf
Steve Cohen wrote on Wed, Dec 01, 2010 at 17:40:12 -0600: > On 12/01/2010 03:33 PM, Ryan Schmidt wrote: >> On Dec 1, 2010, at 15:19, Steve Cohen wrote: >> >>> It seems to me that >>> svn --recursive propset svn:ignore xyz >>> >>> is basically just syntactic sugar for manually going through issu

Re: pattern for specifying svn:ignore for files without extension

2010-12-01 Thread Daniel Shahaf
Ryan Schmidt wrote on Wed, Dec 01, 2010 at 13:33:50 -0600: > > On Dec 1, 2010, at 13:31, Steve Cohen wrote: > > > The build process of the application I am bringing under svn creates a > > number of unix binary executables that have no extension : for example > > > > abcde > > fghqp > > > > et

Re: svn diff: output stops after first couple hunks?

2010-12-01 Thread Daniel Shahaf
> > I suppose then if I really wanted to do the diff properly > > (read: against the copy in the repo) I would do: > > > > svn diff pom.xml http://path.to/my/svnrepo/myproject/trunk/pom.xml > > svn diff -r HEAD pom.xml > By the way, do you know the online subversion book > (http://svnbook.re

Re: external file

2010-12-02 Thread Daniel Becroft
On 02/12/2010, at 20:30, Scott Yan wrote: > Hi, > > At first, thanks for your great works, but our company really need > inter-repository file-externals feature which is not supported now, so , is > there any plan to do this? > > Below is our situation: > There are a dozen sub-facto

Re: svn:ignore with recursive and non-recursive patterns

2010-12-02 Thread Daniel Shahaf
Steve Cohen wrote on Thu, Dec 02, 2010 at 07:48:05 -0600: > On 12/02/2010 12:23 AM, Daniel Shahaf wrote: >> You can use 'propedit --editor-cmd=script.sh **/', where script.sh >> appends '*.o' to argv[1]. >> > Does svn propset svn:ignore accept the *

Re: question about --revision DATE

2010-12-02 Thread Daniel Shahaf
Andy Levy wrote on Thu, Dec 02, 2010 at 14:15:53 -0500: > On Thu, Dec 2, 2010 at 13:55, Geoffrey Myers > wrote: > > Andy Levy wrote: > >> > >> On Thu, Dec 2, 2010 at 13:21, Geoffrey Myers > >> wrote: > >>> > >>> I'm hoping someone can explain the following output to me: > >>> > >>>  svn log --rev

Re: external file

2010-12-03 Thread Daniel Becroft
> Please remember to Reply All to ensure the conversation stays on the list. Maybe. You can use branches, and then use intra-repository file externals to avoid merging the changes across. Cheers, Daniel B. > Best Regards > Scott.Yan > > > > > CC: users@subversion.a

Re: svn log -g --xml doesn't include "Merged via" info

2010-12-05 Thread Daniel Becroft
s it > currently possible to get the additional information from merge > history using the XML output format? > The merged revisions are shown as nested elements. For example: 2010-11-19T06:17:01.744981Z Merged r10426 from trunk. 2010-11-19T06:08:13.934595Z Cheers, Daniel B.

Re: Bug report -- space in env. var. VISUAL causes commits to fail (needs confirmation)

2010-12-06 Thread Daniel Näslund
ome enabled to do that)? Found this thread [1] that discusses spaces in the editor cmd string. Julian Foad confirms that it's a bug in a follow-up and even has some suggestions on how to tackle the problem if someone wants to write a patch. I haven't found any issues related to the problem

Re: Bug report -- space in env. var. VISUAL causes commits to fail (needs confirmation)

2010-12-07 Thread Daniel Shahaf
CC += dev@ Daniel Näslund wrote on Mon, Dec 06, 2010 at 21:32:39 +0100: > On Mon, Dec 06, 2010 at 01:44:23PM -0600, David Dyer-Bennet wrote: > > Subversion 1.6.12 running on Centos 5.5 > > > > If the value of the environment variable VISUAL contains a space, > > subve

Re: Bug report -- space in env. var. VISUAL causes commits to fail (needs confirmation)

2010-12-07 Thread Daniel Shahaf
David Dyer-Bennet wrote on Tue, Dec 07, 2010 at 08:44:28 -0600: > On Tue, December 7, 2010 04:18, Julian Foad wrote: > > On Tue, 2010-12-07, Daniel Shahaf wrote: > >> I suppose setting VISUAL="\"/path with spaces/to/editor/binary\"" is the > >> easi

Re: Bug report -- space in env. var. VISUAL causes commits to fail (needs confirmation)

2010-12-07 Thread Daniel Shahaf
David Dyer-Bennet wrote on Tue, Dec 07, 2010 at 09:30:45 -0600: > On Tue, December 7, 2010 09:03, Daniel Shahaf wrote: > > David Dyer-Bennet wrote on Tue, Dec 07, 2010 at 08:44:28 -0600: > >> And, in any case, VISUAL is a public interface, and I wonder how many > >> oth

Re: usage of svn_wc_diff

2010-12-08 Thread Daniel Shahaf
JamieEchlin wrote on Tue, Dec 07, 2010 at 10:39:28 -0800: > > Hi, > > Firstly I hope this is the right forum, it doesn't seem appropriate for the > dev forum. > Yes, users@ is the right forum. > Has anyone got an example of using svn_wc_diff (or 2/3/4 etc), preferably > from python? I can find

Re: calling svn copy twice...

2010-12-08 Thread Daniel Shahaf
Michael Kessler wrote on Wed, Dec 08, 2010 at 16:24:56 +0100: > Am Mittwoch, den 08.12.2010, 15:06 +0100 schrieb Ludwig, Michael: > > > > I don't understand this behaviour. I expect an error message. > > > > > That's actually perfectly analogous to the behaviour of the unix > > > cp command, when

Re: usage of svn_wc_diff

2010-12-08 Thread Daniel Shahaf
[ Please don't delete all context and quotes messages. ] JamieEchlin wrote on Wed, Dec 08, 2010 at 07:39:32 -0800: > > Cheers, but I was trying to avoid using the svn executable, as I said I can't > rely on it being present. > Then use the API equivalent... > The trouble with the 41-line doc s

Re: usage of svn_wc_diff

2010-12-08 Thread Daniel Näslund
f_callbacks = Callback() depth = svn.core.svn_depth_infinity pool = svn.core.Pool() path_to_wc = "wc" wc = svn.wc.adm_open3(None, path_to_wc, True, -1, None) svn.wc.svn_wc_diff4(wc, target, diff_callbacks, depth, False, None, pool) ]]] Daniel

Periodically merge between trunk->branch and branch->trunk

2010-12-09 Thread Daniel Albuschat
new branch. Here's a drawing: http://dl.dropbox.com/u/1913181/Perm/Subversion-Branch-Remerge-UseCase.png Kind regards, Daniel Albuschat

Re: usage of svn_wc_diff

2010-12-09 Thread Daniel Näslund
On Wed, Dec 08, 2010 at 11:59:16PM -0800, JamieEchlin wrote: > > Daniel, thank you very much for that, that's incredibly helpful. It > definitely gives me somewhere to start. Hope, you'll be able to solve your problem. Here's a script that's a bit more clean tha

Client error when doing server side proplist

2010-12-10 Thread Daniel Widenfalk
et this for a few files. Running 'svnadmin verify' on the repository does not indicate anything wrong. Please advice. Regards /Daniel Widenfalk

Re: Client error when doing server side proplist

2010-12-10 Thread Daniel Widenfalk
des software developed by CollabNet (http://www.Collab.Net/). Regards /Daniel Widenfalk P.s. Sorry for top posting. On 2010-12-10 12:54, Daniel Widenfalk wrote: > Hi all, > > When doing a server side "proplist" I get the following > diagnostic message: > >> svn pl

Re: Client error when doing server side proplist

2010-12-12 Thread Daniel Shahaf
I don't get this with either neon (1.7 to 1.7), serf (1.7 to 1.7), or serf (1.7 client to 1.4 server, so not using HTTPv2). All cases to a file that does have properties set. Daniel Widenfalk wrote on Fri, Dec 10, 2010 at 12:54:03 +0100: > Hi all, > > When doing a server side &q

Re: Bug when merging to pre-1.5 repositories

2010-12-12 Thread Daniel Shahaf
Ulrich Eckhardt wrote on Fri, Dec 10, 2010 at 08:40:26 +0100: > Hi! > > I'm (now, finally) aware of the fact that svn:mergeinfo only came up with 1.5 > but this issue is about the behaviour when this is simply not supported. > Anyway, here's what I did: > > 1. I have a repository, FSFS, created

Re: Client error when doing server side proplist

2010-12-12 Thread Daniel Widenfalk
Hi, On 2010-12-12 15:18, Daniel Shahaf wrote: > I don't get this with either neon (1.7 to 1.7), serf (1.7 to 1.7), or > serf (1.7 client to 1.4 server, so not using HTTPv2). Ok. I'm using 1.6.15 win32 client on a 1.6.6 Linux (Ubuntu) server. I'm also seeing it on a 1.6.12 (

Re: calling svn copy twice...

2010-12-13 Thread Daniel Shahaf
Daniel Shahaf wrote on Wed, Dec 08, 2010 at 17:35:55 +0200: > And is it possible to say: > "Copy $URL1 to $URL2 *unless* $URL2 already exists" > ? > (in an atomic manner) > Yes, and 'svnmucc cp $URL1 $URL2' does that. (thanks to philipm for pointing that out)

Re: svn: database disk image is malformed

2010-12-18 Thread Daniel Shahaf
CC += dev@ Stefan Sperling wrote on Thu, Dec 16, 2010 at 18:49:22 +0100: > On Thu, Dec 16, 2010 at 05:03:00PM +0100, Rainer Dorsch wrote: > > I try to commit the change > > > > $ svn commit -m "minor change" > > SendingREADME > > Transmitting file data .svn: Commit failed (details follow)

Re: svnsync fails to connect to mirror repository but exits with code 0

2010-12-18 Thread Daniel Shahaf
Alain wrote on Thu, Dec 16, 2010 at 17:04:24 +0800: > Hello there, > Has anyone encountered such a scenario with svnsync, version 1.6.1 (r37116) > on WinXP? > > svnsync fails to connect to the mirror repository but it still exits with > code 0. > > Here is the test script (sensitive info has been

Re: Subversion 1.6.15 Released

2010-12-20 Thread Daniel Shahaf
hed}-annou...@subversion.a.o list for these would be a good idea... Daniel (it could help replace contrib/ and links.html) Nico Kadel-Garcia wrote on Sun, Dec 19, 2010 at 12:06:41 -0500: > On Fri, Dec 17, 2010 at 5:46 PM, David Darj wrote: > > On 2010-12-17 22:58, Mark Phippard wrote: >

Re: [Question] Svn log show code diff

2010-12-20 Thread Daniel Shahaf
Ryan Schmidt wrote on Mon, Dec 20, 2010 at 08:01:40 -0600: > I'm removing dev@ from the Cc, since this is a question about how to use > Subversion, and not a discussion about its development. > +1 > > On Dec 19, 2010, at 21:17, Zhang, Wei-Jovi (NSN - CN/Hangzhou) wrote: > > > I have a

Re: File Obstructed by Symbolic Link Prevents Submitting Unrelated Changelists

2010-12-20 Thread Daniel Shahaf
mmit-cmd.c:156: (apr_err=145001) subversion/libsvn_client/commit.c:846: (apr_err=145001) svn: Commit failed (details follow): subversion/libsvn_client/commit_util.c:1097: (apr_err=145001) subversion/libsvn_client/commit_util.c:891: (apr_err=145001) subversion/libsvn_client/commit_util.c:455: (apr_err=145001) svn: Entry '/tmp/svn/wc1/trunk/c' has unexpectedly changed special status zsh: exit 1 $svn ci --cl cltest % $svn ci --cl cltest -q -mm [ab] % ]]] Could you, please, file an issue for this (if there isn't one already filed)? Thanks, Daniel (I can't look at this right now; but if there's an issue then I or someone else will eventually get to it) > > Nick >

Re: File Obstructed by Symbolic Link Prevents Submitting Unrelated Changelists

2010-12-21 Thread Daniel Shahaf
Nick wrote on Mon, Dec 20, 2010 at 18:17:02 -0500: > On Mon, 2010-12-20 at 19:19 +0200, Daniel Shahaf wrote: > > I can reproduce this with trunk: > > [[[ > > % cd wc1/trunk/ > > % touch a b c d > > % $svn add -q ? > > % $svn ci -q -m add > > % echo lin

Re: File Obstructed by Symbolic Link Prevents Submitting Unrelated Changelists

2010-12-21 Thread Daniel Shahaf
Nick wrote on Mon, Dec 20, 2010 at 21:01:59 -0500: > On Mon, 2010-12-20 at 17:34 -0600, Ryan Schmidt wrote: > > > The Subversion project still uses the tigris.org issue tracker; it > > does not yet use the apache.org issue tracker. See the yellow box on > > this page: > > > > http://subversion.ap

Re: Revisions being involved while comparing branches

2010-12-21 Thread Daniel Shahaf
'svn info' on the 1.6.15 file will tell you that. (thanks cheap copies) 'dig the logs' is "lookup the copyfrom revisions of the tags, and run log on replay.c for that revision range". What's wrong with that? Pablo Beltran wrote on Mon, Dec 20, 2010 at 19:22:20 +0100: > Is there a direct way (via

Re: svn: database disk image is malformed

2010-12-21 Thread Daniel Shahaf
Daniel Shahaf wrote on Sat, Dec 18, 2010 at 20:41:43 +0200: > CC += dev@ > > Stefan Sperling wrote on Thu, Dec 16, 2010 at 18:49:22 +0100: > > On Thu, Dec 16, 2010 at 05:03:00PM +0100, Rainer Dorsch wrote: > > > I try to commit the change > > > > > > $

Re: Revisions being involved while comparing branches

2010-12-21 Thread Daniel Shahaf
involved revisions on the compare directories view of > TortoiseSVN and do it in the most efficient way. > Solving the problem for the most general case of comparing any two directories is a hard problem. > HTH, Daniel > On Tue, Dec 21, 2010 at 12:21 PM, Daniel Shahaf > wrote:

Re: Revisions being involved while comparing branches

2010-12-22 Thread Daniel Shahaf
on -> get all involved revisions in that -> get > issues related with those revisions -> get easily the changes (issues) > involved between two product versions > > Now that is also possible to achieve but it requires a lot of previous extra > computing on the Subversion

Re: How to get the parent branch...

2010-12-22 Thread Daniel Shahaf
Echlin, Jamie wrote on Wed, Dec 22, 2010 at 13:09:24 -: > Afternoon, > > For some client-side Tortoise hooks (which are for the purpose of > preventing people shoot themselves in the head in all the myriad ways > Subversion allows), I need to get the ancestor-branch, ie where the > current bra

Re: How to get the parent branch...

2010-12-22 Thread Daniel Shahaf
Chris Tashjian wrote on Wed, Dec 22, 2010 at 11:34:03 -0500: > > > > For some client-side Tortoise hooks (which are for the purpose of > > preventing people shoot themselves in the head in all the myriad ways > > Subversion allows), I need to get the ancestor-branch, ie where the current > > branch

Re: --no-config-dir option?

2010-12-23 Thread Daniel Shahaf
Alan Barrett wrote on Thu, Dec 23, 2010 at 17:34:09 +0200: > On Thu, 23 Dec 2010, Stefan Sperling wrote: > > I don't think there is an official way to prevent the config dir from > > being created. I'd be interested to know why you need this. What is > > your use case? > > The event that made me n

Re: External diffs and temp files

2010-12-27 Thread Daniel Shahaf
If you want to derive the working file's path, it's in the -L arguments (argv[3] and argv[5]). Mind the tabs. I'd look into scripting something around :diffpatch in Vim: some custom command you run while editing the file. In that case, you'll to reverse the diff before applying it. (you can use

Re: svnadmin create and not being method agnostic

2010-12-30 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, Dec 30, 2010 at 15:48:16 +0100: > On Thu, Dec 30, 2010 at 03:32:01PM +0100, Stefan Sperling wrote: > > On Thu, Dec 30, 2010 at 03:29:11PM +0100, Stefan Sperling wrote: > > > create-svn-repos.sh: > > > #!/bin/sh > > > svnadmin create $1 > > > rm -f $1/conf/svnserve.

Re: File Obstructed by Symbolic Link Prevents Submitting Unrelated Changelists

2010-12-30 Thread Daniel Shahaf
Nick wrote on Tue, Dec 21, 2010 at 12:00:47 -0500: > On Tue, 2010-12-21 at 11:59 +0200, Daniel Shahaf wrote: > > I've updated some > > fields, and I'll try to get around to look at it in more detail some > > time. > > I appreciate it, thanks! Sendings

Re: File Obstructed by Symbolic Link Prevents Submitting Unrelated Changelists

2010-12-30 Thread Daniel Shahaf
Nick wrote on Thu, Dec 30, 2010 at 15:44:52 -0500: > On Thu, 2010-12-30 at 21:42 +0200, Daniel Shahaf wrote: > > > Nick wrote on Tue, Dec 21, 2010 at 12:00:47 -0500: > > > On Tue, 2010-12-21 at 11:59 +0200, Daniel Shahaf wrote: > > > > I've updated some >

Re: howto replace a file with a symbolic link (without obstruct error)

2010-12-30 Thread Daniel Shahaf
Nick wrote on Thu, Dec 30, 2010 at 15:54:54 -0500: > On Thu, 2010-12-30 at 15:48 +0100, anton wrote: > > Hi, > > > > I searched google, I search the subversion doc > > (here I searched "obstruct" and found only a python sample). > > > > So my question (subversion.apache.org is just down, so I co

Re: "svnadmin load" a huge file

2010-12-31 Thread Daniel Shahaf
Split the dumpfile to smaller dumpfiles or try a newer version of svnadmin. (or dive into the source and help us plug that memory leak --- compile with APR pool debugging enabled) Victor Sudakov wrote on Fri, Dec 31, 2010 at 09:07:32 +0600: > Colleagues, > > I have a CVS repository sized 54M wi

Re: "svnadmin load" a huge file

2010-12-31 Thread Daniel Shahaf
> On 31 Dec 2010 15:10, "Victor Sudakov" wrote: > > Daniel Shahaf wrote: > >> (or dive into the source and help us plug that memory leak --- compile > >> with APR pool debugging enabled) > > > > I will try to do that but unfortunately I need som

Re: svnserve with corrupt timestamps

2011-01-01 Thread Daniel Shahaf
René Hjortskov Nielsen wrote on Sat, Jan 01, 2011 at 09:51:57 +0100: > I’ve cross compiled subversion 1.6.15 on my i686 to the target system armv4l > (product ib-nas3221-b). > > Everything seems to work, I can work with my old repository which has been > moved to the target system. > > However,

Re: svnserve with corrupt timestamps and malformed text representation

2011-01-04 Thread Daniel Shahaf
René Hjortskov Nielsen wrote on Tue, Jan 04, 2011 at 13:08:51 +0100: > Hopefully this is useful information for someone :) It's useful, yes. You could pass this information directly to the APR project: http://apr.apache.org/ should identify the mailing list you need. Thanks, Daniel

Re: svnadmin create and not being method agnostic

2011-01-04 Thread Daniel Shahaf
How about allowing to choose not just at mod_dav_svn v. svnserve granularity, but at the httpd instance / svnserve instance granularity. Requires 'svnserve --instance-name=foo' (and a corresponding httpd.conf directive) and specifying that 'foo' somewhere in the config file. Stefan Sperling wr

Re: On commit attempt, Server sent unexpected return value (403 Forbidden) in response to CHECKOUT

2011-01-04 Thread Daniel Shahaf
Mark Phippard wrote on Mon, Jan 03, 2011 at 09:32:49 -0500: > On Fri, Dec 31, 2010 at 11:04 AM, wrote: > > I'm trying to integrate a SVN Authz authorization file with apache > > configuration files to provide a solution for not just directory level > > restrictions, but also file level restrictio

Re: Problem with My SVN Server

2011-01-04 Thread Daniel Shahaf
[ Santosh, note that Johan did reply with some questions at the bottom, in addition to his bracketed remark at the top. ] Johan Corveleyn wrote on Tue, Jan 04, 2011 at 09:50:51 +0100: > [ please don't top-post on this list, i.e. please put your reply at > the bottom, or inline, below the thing you

Re: Feature request: expand wildcards

2011-01-04 Thread Daniel Shahaf
It's hacky, but: svn commit --changelist :glob:'*.foo' where the "changelist" is then interpreted as a glob pattern (let's say apr_fnmatch()). Thoughts? Ed Avis wrote on Tue, Jan 04, 2011 at 14:48:21 +: > Hi, this is a feature request for the command-line svn client. I am posting > it

Re: Feature request: expand wildcards

2011-01-04 Thread Daniel Shahaf
Daniel Shahaf wrote on Tue, Jan 04, 2011 at 22:22:18 +0200: > It's hacky, but: > > svn commit --changelist :glob:'*.foo' > > where the "changelist" is then interpreted as a glob pattern > (let's say apr_fnmatch()). > > Thoughts? >

Re: svnadmin create and not being method agnostic

2011-01-04 Thread Daniel Becroft
d. > Shouldn't the current behaviour of 'svnadmin create' be maintained? At the moment, a user can just do: svnadmin create .\repository svnserve -r . and a repository is created and served via svnserve. With the above defaults, a third step is required, which can get tedious. I'd propose enabling svnserve by default, and it can then be disabled if required. This also maintains the ease of creating test scripts to try and reproduce issues. As a user, I'm not interested in *ever* using mod_dav_svn, but always using svnserve, and the current command-line client works out-of-the-box. Just my $0.02. Cheers, Daniel B.

Re: Feature request: expand wildcards

2011-01-04 Thread Daniel Shahaf
Stefan Sperling wrote on Tue, Jan 04, 2011 at 22:44:49 +0100: > On Tue, Jan 04, 2011 at 10:47:52PM +0200, Daniel Shahaf wrote: > > Daniel Shahaf wrote on Tue, Jan 04, 2011 at 22:22:18 +0200: > > > It's hacky, but: > > > > > > svn commit --change

Re: svnadmin create and not being method agnostic

2011-01-04 Thread Daniel Becroft
On Wed, Jan 5, 2011 at 12:31 PM, Nico Kadel-Garcia wrote: > On Tue, Jan 4, 2011 at 4:56 PM, Daniel Becroft > wrote: > > > svnadmin create .\repository > > svnserve -r . > > > > and a repository is created and served via svnserve. With the above > > defaul

Re: Feature request: expand wildcards

2011-01-05 Thread Daniel Shahaf
Ed Avis wrote on Wed, Jan 05, 2011 at 12:52:39 +: > Daniel Shahaf daniel.shahaf.name> writes: > > > svn commit --changelist :glob:'*.foo' > > From my point of view that would be useful, if combined with a warning > message: > >No file mat

Re: svnadmin create and not being method agnostic

2011-01-05 Thread Daniel Shahaf
Nice, please stop saying "I don't like X" everywhere. Stefan Sperling wrote on Wed, Jan 05, 2011 at 11:09:06 +0100: > On Tue, Jan 04, 2011 at 09:25:11PM -0500, Nico Kadel-Garcia wrote: > > This is a very large and longstanding issue for me and others, and has > > led to clients of mine rejecting S

Re: svnadmin create and not being method agnostic

2011-01-05 Thread Daniel Shahaf
Nico, please stop saying "I don't like X" everywhere. Stefan Sperling wrote on Wed, Jan 05, 2011 at 11:09:06 +0100: > On Tue, Jan 04, 2011 at 09:25:11PM -0500, Nico Kadel-Garcia wrote: > > This is a very large and longstanding issue for me and others, and has > > led to clients of mine rejecting S

Re: Hooks That Use Perl Test::Builder Having Problems with STDERR

2011-01-06 Thread Daniel Shahaf
eric.b...@barclayscapital.com wrote on Wed, Jan 05, 2011 at 17:03:11 -0500: > Dave, if you look into how the hooks work, basically, they are passed a repo > path and a transaction id that, using svnlook, gives you access to copies of > the working files, so it doesn't matter where the hooks run,

Re: svn: REPORT request failed on '/svn/!svn/bc/20890'

2011-01-06 Thread Daniel Shahaf
If it's a corrupted revision, the server's error log should say something. Ryan Schmidt wrote on Wed, Jan 05, 2011 at 20:48:34 -0600: > On Jan 5, 2011, at 08:18, zhangfan wrote: > > > I am using svn1.6.3. I put all source code and documents of our > > team into one repo. It works great

Re: "svnadmin load" a huge file

2011-01-07 Thread Daniel Shahaf
Les Mikesell wrote on Fri, Jan 07, 2011 at 10:37:12 -0600: > On 1/7/2011 7:57 AM, Victor Sudakov wrote: >> > I migrated a large CVS repository (25-50 GB) to SVN years ago on SVN > 1.3. Our repo had many sections (projects) within it. We had to > migrate each project independently so t

Re: svnadmin create and not being method agnostic

2011-01-07 Thread Daniel Shahaf
Les Mikesell wrote on Fri, Jan 07, 2011 at 10:43:58 -0600: > On 1/4/2011 8:25 PM, Nico Kadel-Garcia wrote: >> >> This is a very large and longstanding issue for me and others, and has >> led to clients of mine rejecting Subversion outright. And it looks >> like a legacy of Subversion's re-implement

Re: "svnadmin load" a huge file

2011-01-08 Thread Daniel Shahaf
Victor Sudakov wrote on Sat, Jan 08, 2011 at 01:38:00 +0600: > Daniel Shahaf wrote: > > [dd] > > > > > I believe there are known issues with memory usage in svnadmin. See the > > issue tracker. > > Namely? > Search for 'svnadmin' and you sh

Re: Feature Request: [Was: Best way to maintain patches to a 3rd party library?]

2011-01-11 Thread Daniel Shahaf
Stefan Sperling wrote on Tue, Jan 11, 2011 at 19:02:00 +0100: > See here: http://subversion.apache.org/faq.html#multi-merge This contains a broken link to .

Re: including a banner in Subversion URL

2011-01-11 Thread Daniel Shahaf
Ryan Schmidt wrote on Tue, Jan 11, 2011 at 14:38:36 -0600: > On Jan 11, 2011, at 14:34, Ramesh Nadupalli wrote: > > > Ryan Schmidt wrote: > > > > >> On Jan 10, 2011, at 20:38, Ramesh Nadupalli wrote: > >> > >>> I would like to have banner set for a subversion URL, can someone guide > >>> how th

Re: SVN Hooks to require log message, limit size and file type

2011-01-11 Thread Daniel Becroft
e some help? Great thanks! > > Regards, > David > I'm unfamiliar with unix scripting, but you could try outputting debug messages to a basic text file, so you can trace it through as it runs. Cheers, Daniel B. > pre-commit : > #!/bin/sh > REPOS="$1" > TXN="

Re: SVN Subversion- object level checkout

2011-01-12 Thread Daniel Becroft
preciate your quick help. > > Regards, > I'm guessing that .PBW file relies on the rest of the files in that directory. You'll need to checkout that directory prior to opening. Cheers, Daniel B. > Amit Sasmal. > Wipro Technologies. > > > -Original Message---

Re: Trival merge of big text file: Dismal performance, 540x faster if binary.

2011-01-13 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, Jan 13, 2011 at 13:07:34 +: > On Thu, Jan 13, 2011 at 01:55:58PM +0100, Johan Corveleyn wrote: > > Textual merging in svn makes use of a variant of the standard diff > > algorithm, namely diff3. Just a couple of days ago, I finally > > succeeded in making diff3 tak

Re: Subversion - Hook

2011-01-13 Thread Daniel Shahaf
David Weintraub wrote on Thu, Jan 13, 2011 at 11:02:02 -0500: > Basically, we're just a bunch of Subversion users who support each > other. There are a few Subversion developers here too :)

Re: Trival merge of big text file: Dismal performance, 540x faster if binary.

2011-01-13 Thread Daniel Shahaf
Daniel Shahaf wrote on Thu, Jan 13, 2011 at 18:28:44 +0200: > Stefan Sperling wrote on Thu, Jan 13, 2011 at 13:07:34 +: > > On Thu, Jan 13, 2011 at 01:55:58PM +0100, Johan Corveleyn wrote: > > > Textual merging in svn makes use of a variant of the standard diff > > &

Re: project vs. repository

2011-01-13 Thread Daniel Shahaf
David Weintraub wrote on Thu, Jan 13, 2011 at 11:19:54 -0500: > Are you using file:// URLs? You should either be using svnserve or > Apache httpd as your Subversion server. Fortunately, you can easily do > that without having to do anything with your repository. Even when I > have a personal Subver

Compiling subversion on Ubuntu 10.10

2011-01-14 Thread Daniel Becroft
ules.mk:38 from: LIBTOOL=$(SHELL) $(top_builddir)/libtool to LIBTOOL=$(SHELL) $(apr_builddir)/libtool I'm unfamiliar with how the configure scripts work, so I'm not sure if this is a problem with the SVN scripts, APR scripts, or my system itself. If it's one of the first two, then I'll report it to the appropriate list. Can anyone provide any guidance? --- Daniel Becroft

Re: Compiling subversion on Ubuntu 10.10

2011-01-14 Thread Daniel Becroft
Apologies, I also had to make the same change to apr/build/apr_rules.mk:38. --- Daniel Becroft On Sat, Jan 15, 2011 at 8:45 AM, Daniel Becroft wrote: > Hi, > > I've had some issues compiling Subversion and APR in my Ubuntu environment > (the below output is done from /trunk -

Re: SVN 1.6.15 checkout fails on particular file

2011-01-14 Thread Daniel Shahaf
KARR, DAVID (ATTSI) wrote on Fri, Jan 14, 2011 at 14:18:12 -0800: > > -Original Message- > > From: David Huang [mailto:k...@azeotrope.org] > > Sent: Friday, January 14, 2011 1:29 PM > > To: KARR, DAVID (ATTSI) > > Cc: users@subversion.apache.org > > Subject: Re: SVN 1.6.15 checkout fails on

Re: Trival merge of big text file: Dismal performance, 540x faster if binary.

2011-01-14 Thread Daniel Shahaf
Johan Corveleyn wrote on Fri, Jan 14, 2011 at 23:52:10 +0100: > Ok, after rereading this thread, I'm starting to understand what you > mean: why would "merge" perform an expensive diffing algorithm while > it can just be 100% sure that it can simply copy the contents from the > source to the target

Re: SVN 1.6.15 checkout fails on particular file

2011-01-14 Thread Daniel Shahaf
KARR, DAVID (ATTSI) wrote on Fri, Jan 14, 2011 at 16:31:04 -0800: > > -Original Message- > > From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] > > Sent: Friday, January 14, 2011 4:20 PM > > To: KARR, DAVID (ATTSI) > > Cc: David Huang; users@subversion.a

Re: Compiling subversion on Ubuntu 10.10

2011-01-16 Thread Daniel Shahaf
Daniel Becroft wrote on Sat, Jan 15, 2011 at 08:45:31 +1000: > After investigation, it seems that the path for LIBTOOL was defined > incorrectly. I had to change apr-util/build/rules.mk:38 from: > > LIBTOOL=$(SHELL) $(top_builddir)/libtool > to > LIBTOOL=$(SHELL) $(apr

Re: Compiling subversion on Ubuntu 10.10

2011-01-16 Thread Daniel Becroft
On Mon, Jan 17, 2011 at 7:22 AM, Daniel Shahaf wrote: > Daniel Becroft wrote on Sat, Jan 15, 2011 at 08:45:31 +1000: > > After investigation, it seems that the path for LIBTOOL was defined > > incorrectly. I had to change apr-util/build/rules.mk:38 from: > > &g

Re: I can not do a svn commit

2011-01-18 Thread Daniel Shahaf
Ryan Schmidt wrote on Tue, Jan 18, 2011 at 16:59:33 -0600: > On Jan 18, 2011, at 16:02, Daniela Rivas wrote: > > > Ok the correct repository URL was > > http://localhost/prueba/trunk/index.html, so when I execute in a > > browser http://localhost/prueba/trunk/index.html, I get the first > > versio

Re: svn co --native-eol LF ?

2011-01-20 Thread Daniel Shahaf
Paul Maier wrote on Thu, Jan 20, 2011 at 01:47:08 +0100: > Where does svn determine, what the system's setting is for "native" > and can I change this setting as an end user? Is it in a config file? You'd have to recompile.

Re: Letters at beginnings of columns of svn output

2011-01-20 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, Jan 20, 2011 at 16:24:21 +0100: > On Thu, Jan 20, 2011 at 03:09:57PM +0100, Ulrich Eckhardt wrote: > > What is "Existed"? > > $ svn up > svn: Failed to add directory 'foo': an unversioned directory of the same name > already exists > $ svn up --force > Efoo > Upd

Re: Broken URLs in Subversion README files

2011-01-20 Thread Daniel Shahaf
Oftenwrong Soong wrote on Mon, Jan 17, 2011 at 15:22:16 -0800: > Hi all, > > Not sure if this is considered a bug that needs reporting... > > Many of the README files contained within Subversion's source distribution > contain references to the old http://subversion.tigris.org/ URLs. For > exam

Re: Betr.: RE: Betr.: RE: Questions about svn:externals

2011-01-20 Thread Daniel Shahaf
Johan Corveleyn wrote on Thu, Jan 20, 2011 at 13:40:49 +0100: > If someone decides to put a lot of effort in this for a custom > solution, you may want to consider another option: to take a good look > at issue http://subversion.tigris.org/issues/show_bug.cgi?id=2662 > (authz with wildcards), and t

Re: Betr.: Re: "svnadmin load" a huge file

2011-01-20 Thread Daniel Shahaf
ch pool. Paul Burba's work on the recent fixed-in-1.6.15 DoS-via-memory-consumption CVE can serve as an example. Daniel (workarounds are plenty --- svnsync, incremental dump, whatnot --- they are discussed elsethread) Victor Sudakov wrote on Thu, Jan 20, 2011 at 14:18:00 +0600: > Colle

Re: Trival merge of big text file: Dismal performance, 540x faster if binary.

2011-01-21 Thread Daniel Becroft
On Fri, Jan 21, 2011 at 7:19 PM, Johan Corveleyn wrote: > On Mon, Jan 17, 2011 at 5:30 PM, krueger, Andreas (Andreas Krüger, > DV-RATIO) wrote: > > Hello, Daniel and all, > > > >> In other words, merging changes from file.c@BRANCH to trunk should > >> de

Re: one doubt on subversion

2011-01-25 Thread Daniel Shahaf
How did you find the build/test process on windows? vani yadav wrote on Tue, Jan 25, 2011 at 01:29:01 -0800: > Hello sir, > > I downloaded subversion-1.6.15, i installed all the dependency package. i > built berkeley, built apache then configured subversion and built > subversion. > > after buil

Re: Any way to tell what subversion version I'm connecting to?

2011-01-25 Thread Daniel Shahaf
Perhaps svn_ra_has_capability() would help. What are you trying to do? KARR, DAVID (ATTSI) wrote on Tue, Jan 25, 2011 at 13:48:22 -0800: > From a SVN command line client, is there any way to tell what version of > Subversion is running on the server?

Re: directory problem on 'svn ci'

2011-01-25 Thread Daniel Shahaf
el free to follow up with more details. Daniel Andreas Wolff wrote on Tue, Jan 25, 2011 at 19:32:07 +0100: > Hello everybody, > > Today I encountered an unusual behaviour with my newly updated > Subversion version (Win32, version 1.6.15): > > Just as always, a simpl

Re: directory problem on 'svn ci'

2011-01-25 Thread Daniel Shahaf
BTW, with gvim you may have to use 'gvim -f' as your editor.

<    1   2   3   4   5   6   7   8   9   10   >