Re: using -F fails using bash process substitution. bug?

2018-07-24 Thread Philip Martin
Daniel Shahaf writes: > I see you've now done this in r1836306. Any reason not to backport > that? (Feel free to add my +1) Nominated for 1.10. -- Philip

Re: using -F fails using bash process substitution. bug?

2018-07-19 Thread Philip Martin
Daniel Shahaf writes: >> The workaround is to use: >> >> echo -ne "ignorethis\n" | svn ps svn:ignore -F - . > > By the way, an even simpler workaround in this case is > > svn ps svn:ignore -m $'ignorethis\n' ./ No. In this case -F specifies the property value, not the log message.

Re: Http authentication

2018-07-19 Thread Philip Martin
"Felix E." writes: > I understand that the very first request shouldn't contain any auth header. > But If a svn function is called multiple times(for the same host etc.) and > there was already a successful authentication, it should be possible to add > the auth header to the following requests

Re: using -F fails using bash process substitution. bug?

2018-07-19 Thread Philip Martin
Zing Shishak writes: > The following fails to set svn:ignore using process substitution for the > file option: > > $ svn ps svn:ignore -F <(echo -ne "ignorethis\n") . > property 'svn:ignore' set on '.' > > The property is created but it's empty. Is this something that's not > expected to work? I

Re: SSL handshake failed: SSL alert received

2018-07-12 Thread Philip Martin
"Brandon L. Wisenburg" writes: > Hi Philip > Thanks for the reply. The odd part is when I do the openssl s_client > it looks like the handshake is successful. Yes, that's to be expected because the client is sending OPTIONS. You haven't told us which version of Subversion/SSL you are using but

Re: SSL handshake failed: SSL alert received

2018-07-12 Thread Philip Martin
Philip Martin writes: > "Brandon L. Wisenburg" writes: > >> svn update >> svn: OPTIONS of 'https://domain/src': SSL handshake failed: SSL alert >> received: Handshake failed (https://www.domain.com) > > You don't say which version of Subversion you are u

Re: SSL handshake failed: SSL alert received

2018-07-12 Thread Philip Martin
"Brandon L. Wisenburg" writes: > svn update > svn: OPTIONS of 'https://domain/src': SSL handshake failed: SSL alert > received: Handshake failed (https://www.domain.com) You don't say which version of Subversion you are using but that looks like an old client as a newer client would include an

Re: Bug: Locally deleted file wrongly accepted as log message string.

2018-06-29 Thread Philip Martin
Karl Fogel writes: > :-). In any case, I first wanted to make sure there is consensus that > this is a bug. Do we agree? Agreed. -- Philip

Re: SVN patch issue with property changes

2018-06-28 Thread Philip Martin
Julian Foad writes: > The issue is about a patch that *changes* the current value to another > value, not a patch that *adds* a property. Yes, sorry. I misinterprted the patches. -- Philip

Re: SVN patch issue with property changes

2018-06-28 Thread Philip Martin
Julian Foad writes: > Julian Foad wrote: >> The bug seems to be that 'svn patch' fails to apply any patch of >> this form, that tries to change a property value from empty to >> non-empty. > > I committed a test for this in http://svn.apache.org/r1834628 I'm confused, you are treating as ''

Re: SVN patch issue with property changes

2018-06-28 Thread Philip Martin
Daniel Shahaf writes: > You mentioned earlier that svn:executable was present with an empty > value. Is that really the case? If it is --- which would be surprising, > as it's supposed to be an impossible state --- it would explain why you > got a conflict. The normalization of svn:executable

Re: Unable to shelve changes when using custom diff-cmd

2018-06-27 Thread Philip Martin
Csongor Pal writes: > I ran into an issue with svn shelve on my setup. I use the following > script as my diff-cmd to open diffs with FileMerge on macOS: > svn-diffwrap.sh > > > When running an

Re: svn 1.9.7: svnadmin: E200014: Checksum mismatch while reading representation:

2018-05-13 Thread Philip Martin
Rolf Campbell writes: > svnadmin: E16: SHA1 of reps '6604 1765 12180 238060 > 091c0630eece721fea4cba1bd1c99ba5 8c58eef60c3e147f2056a65139adccdc5802a308 > 6606-53k/_19c' and '-1 0 12180 238060 091c0630eece721fea4cba1bd1c99ba5 >

Re: "Expected format '3' of repository; found format '5' "

2018-05-08 Thread Philip Martin
Philip Martin <phi...@codematters.co.uk> writes: > Branko Čibej <br...@apache.org> writes: > >>>> "svnadmin: Expected format '3' of repository; found format '5' " >> >> Actually this could be quite a problem, because FSFS format version 5 >&g

Re: "Expected format '3' of repository; found format '5' "

2018-05-08 Thread Philip Martin
Branko Čibej writes: >>> "svnadmin: Expected format '3' of repository; found format '5' " > > Actually this could be quite a problem, because FSFS format version 5 > was never present in any official release of Subversion. I believe that error is the repos layer, not the FSFS

Re: "Expected format '3' of repository; found format '5' "

2018-05-08 Thread Philip Martin
Paul Greene writes: > I'm migrating an SVN server to a new server. The old server is running an > ancient version of Redhat and version 1.4 of subversion. > > The new server is running CentOS 7 and version 1.7 of subversion. > > I'm creating some test dump files to copy

Re: Group contain problem in authz

2018-05-07 Thread Philip Martin
黄磊 writes: > We meet a problem while upgrade the SVN server from 1.9 to 1.10. In > the file 'authz', it seems not support for group to contain other > group. > > I can give a simple example. > In the 'authz' file: > > [groups] > GuserA = userA > GuserB = userB > GroupA

Re: locks-test fail when building subversion-1.10.0 from sources under Linux (Ubuntu 16)

2018-05-01 Thread Philip Martin
Juan Gabriel Covas writes: > Thanks for your input. > > # ./fs-test 14 > PASS: lt-fs-test 14: set/get txn props, commit, validate new rev props > >>Does it always fail? > > Always Pass when executed individually. Oops! I gave the wrong executable name. It should be

Re: locks-test fail when building subversion-1.10.0 from sources under Linux (Ubuntu 16)

2018-05-01 Thread Philip Martin
Juan Gabriel Covas writes: > svn_tests: E26: Expected error but got SVN_NO_ERROR > FAIL: lt-locks-test 14: lock/unlock when 'write-lock' couldn't be obtained > PASS: lt-locks-test 15: lock parent and it's child > END: locks-test > ELAPSED: locks-test 0:00:03.594386 > >

Re: How to disable lz4 support when library is installed in system?

2018-04-17 Thread Philip Martin
Daniel Shahaf writes: > In principle, if svn were built without lz4 (which isn't supposed to be > allowed by the stock configure) then it won't be able to read or produce > svndiff2 deltas, which are used on the wire and may be used in FSFS f8 > on-disk data. If

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Bo Berglund writes: > Good, then I will go ahead and erase the failed mirror repos and > re-create them and then load the dump files. But for the not yet used > repos I can just start loading the dumps. Saves some time. There are some things you can do to make load

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Bo Berglund writes: > 1) Do I have to disable the hooks I put in place for sync during the > load? Or will they not be triggered during a load operation? No, by default load does not invoke hooks. You can choose to invoke them via a command line options. > 2) What do I

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Philip Martin <phi...@codematters.co.uk> writes: > Bo Berglund <bo.bergl...@gmail.com> writes: > >> 2) Use hotcopy to make a backup copy of everything including hooks. >> The caveat here is that the hotcopy needs to be using the exact same >> version on both

Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?

2018-03-29 Thread Philip Martin
Bo Berglund writes: > 2) Use hotcopy to make a backup copy of everything including hooks. > The caveat here is that the hotcopy needs to be using the exact same > version on both master and mirror. But I have 1.9.7 master on Windows > and 1.9.3 mirror on Ubuntu Linux No,

Re: E130003: The XML response contains invalid XML - Follow-up

2018-03-16 Thread Philip Martin
Daniel Shahaf <d...@daniel.shahaf.name> writes: > Philip Martin wrote on Fri, 16 Mar 2018 13:44 +: > > Changing "0" to "48" would also have broken the and > offsets in that revision file, so how come 'verify' worked after > that change? In the exa

Re: E130003: The XML response contains invalid XML - Follow-up

2018-03-16 Thread Philip Martin
"NOCERA, ANDY" writes: > I used dump and load to debug the malformed node revision ID. Here > are my steps and what learned. Looks like the revs' file text: entry > has a zero instead of size. By just editing the size, verify worked. > No other change was required. The

Re: Run shelve tests in subversion 1.9

2018-03-11 Thread Philip Martin
wuzhouhui <1530108...@qq.com> writes: >>> Most likely you forgot to make the file executable. > The file is executable. You probably need to rerun gen-make.py. gen-make.py is responsible for adding the new file to TEST_PROGRAMS in build-outputs.mk -- Philip

Re: subversion not detecting apr and apr-utils libraries

2018-03-07 Thread Philip Martin
Guido granda muñoz writes: > I'm trying to install subversion 1.9.7 in Ubuntu 16.04 using its source > code. When I do ./configure ./configure --with-apr=/usr/lib/apache2 > --with-apr-util=/usr/lib/apache2 , I get the following error: configure should find apr/aprutil on

Re: SHA-1 collision in repository?

2018-03-04 Thread Philip Martin
Myria writes: > How can I dump out the two things that Subversion thinks have the same > SHA-1 checksum but don't match? This seems to be rather difficult to do. On the server side: svnlook cat repository path-in-repository svnlook cat -r N repository

Re: SHA-1 collision in repository?

2018-03-04 Thread Philip Martin
Stefan Sperling writes: > Yes. And if the content differs, it must be rejected, because an FSFS > repository can only store one content per SHA1 checksum. To be accurate the server-side code can handle the files perfectly well if rep-caching is disabled. One can retreive either

Re: SHA-1 collision in repository?

2018-03-04 Thread Philip Martin
Nathan Hartman writes: > Does this mean that content being committed to the repository is never > elided based on the SHA hash alone but only after a fulltext > verification that the content actually already exists in the > repository? That's correct. Fulltext

Re: SHA-1 collision in repository?

2018-03-02 Thread Philip Martin
Myria writes: > I just found out that the file causing the error from the large commit > is not the large file - it's one of the smaller files, about 55 KB. > If I commit that single smaller file from the large commit, it errors > the same way as the original 227185 would.

Re: SHA-1 collision in repository?

2018-02-28 Thread Philip Martin
Johan Corveleyn writes: > I'm wondering whether this is related to the bug that was fixed for > 1.8.x here: > > http://svn.apache.org/viewvc?view=revision=1803435 > > ... or a similar problem. > I'm actually not sure whether that bugfix was released already (it's > not

Re: E130003: The XML response contains invalid XML - svn co and log issue on some repos using https/http

2018-02-28 Thread Philip Martin
"NOCERA, ANDY" writes: > svn co https://xxx.com:6022/svn/asgard > svn: E130003: The XML response contains invalid XML If you have the socat proxy available then you can use that to log the traffic and see the failing XML:

Re: SHA-1 collision in repository?

2018-02-27 Thread Philip Martin
Myria writes: > -bash-4.1$ sqlite3 rep-cache.db "select * from rep_cache where > hash='db11617ef1454332336e00abc311d44bc698f3b3'" > db11617ef1454332336e00abc311d44bc698f3b3|604440|34|134255|136680 > > The line from the grep -a command containing that hash is below. They >

Re: SHA-1 collision in repository?

2018-02-23 Thread Philip Martin
Philip Martin <phi...@codematters.co.uk> writes: > There are a couple of options: > > A) disable rep-caching by editing fsfs.conf inside the repository > > B) reset the mapping by deleting/renaming the file db/rep-cache.db > inside the repository (but please r

Re: SHA-1 collision in repository?

2018-02-23 Thread Philip Martin
Myria writes: > I was able to branch (svn copy) the affected branch to a new branch, > and committing the same file to the new branch has the same error. > Checking out that revision works fine; only that commit is affected. I suspect the problem is that the repository

Re: SHA-1 collision in repository?

2018-02-23 Thread Philip Martin
Stefan Sperling writes: > On Fri, Feb 23, 2018 at 01:06:36PM -0800, Myria wrote: >> The revision 605556 is simply the current revision number of the >> repository at the time of the attempted commit, and is unrelated to >> the problem. If I attempt the commit now, it's a higher

Re: SHA-1 collision in repository?

2018-02-22 Thread Philip Martin
Branko Čibej writes: > On 22.02.2018 21:30, Myria wrote: >> When we try to commit a very specific version of a very specific >> binary file, we get a SHA-1 collision error from the Subversion >> repository: >> >> D:\confidential>svn commit secret.bin -m "Testing broken commit"

Re: Reference to non-existent node

2018-02-21 Thread Philip Martin
Davor Josipovic writes: > You make the PID sound very important, and with good reason too! I > just went back through the logs to make sure that I didn't mess up the > PID before posting. I didn't. In each case, the PID was > different. This might explain the time difference.

Re: Reference to non-existent node

2018-02-20 Thread Philip Martin
Davor Josipovic writes: >> Are you running Linux or Windows? Is the disk local or networked? > > Server is Debian 9.3. Disk is mounted through fstab with options > noatime,nodiratime,data=ordered,nofail. > >> Do you have some other process running that mointors the filesystem

Re: Reference to non-existent node

2018-02-20 Thread Philip Martin
Davor Josipovic writes: >> Do you see the DELETE in the log after the failed MERGE? Was there an >> error? > > The apache2 log I posted is the whole log for that day as far as I > recall. There was nothing else. You see the DELETE error before the > MERGE error. I think that is

Re: Reference to non-existent node

2018-02-20 Thread Philip Martin
Johan Corveleyn writes: >> [Sat Feb 10 03:25:30.640591 2018] [dav:error] [pid 2966] [client >> X.X.X.X:61712] Could not MERGE resource "/svn/repo/!svn/txn/463-e8" into >> "/svn/repo/repofolder". [500, #0] >> [Sat Feb 10 03:25:30.642889 2018] [dav:error] [pid 2966]

Re: File not accepted as valid addition to svn

2018-02-12 Thread Philip Martin
Bo Berglund writes: > svn add Fasadändring > svn: warning: W155010: 'D:\Bosse\Fasadändring' not found '&' has special meaning to the shell and needs to be quoted or escaped. -- Philip

Re: Reverting accidental permanent acceptance of SSL certificate?

2018-02-11 Thread Philip Martin
Bo Berglund writes: > How can I revert this? Is there a client svn command to un-accept a > certificate? All I find when googling is the opposite, i.e. how to > accept a certificate... Use svn auth to see all the stored credentials. Use svn auth SOMEPATTERN to

[ANNOUNCE] Apache Subversion 1.8.19 released

2017-08-10 Thread Philip Martin
/376A3CFD110B1C95] with fingerprint: 7B8C A7F6 451A D89C 8ADC 077B 376A 3CFD 110B 1C95 Daniel Shahaf [3072R/A5FEEE3AC7937444] with fingerprint: E966 46BE 08C0 AF0A A0F9 0788 A5FE EE3A C793 7444 Philip Martin [2048R/76D788E1ED1A599C] with fingerprint: A844 790F B574 3606 EE95

Re: svn commit failing - username not sent on the MERGE webdav command

2017-08-08 Thread Philip Martin
writes: > Ok now I joined the mailing ilst. But I have not had any response to this > problem. > > Any suggestions? Should I RTFM - if so which? > > I've tried different things - and it only seems to allow access if > 'anonymous' is given access. Which could be a deal breaker

Re: svn_client_status5 veeeeeeery slow [SEC=UNCLASSIFIED]

2017-07-28 Thread Philip Martin
"Thamm, Russell" writes: > Any idea why svn_client_status5 is behaving so strangely? I suspect you altered all the timestamps on the working files when you copied the working copy, or perhaps the filesystems have different timestamp resolution. Running 'svn

Re: --editor-cmd not working with paths with spaces?

2017-07-07 Thread Philip Martin
Thorsten Schöning writes: > From my point of view paths with spaces should be supported. The user controls the spaces, on Linux at least: $ svn ci --editor-cmd "/some/path/with\ spaces" or $ svn ci --editor-cmd "'/some/path/with spaces'" Giving the user control

Re: FW: Error running make for subversion

2017-06-09 Thread Philip Martin
"Joseph, Anselm" writes: > Is there anything here that is not quite right? That is as expected. Subversion/libtool is producing shared libraries in .a format (AIX native). The Apache apxs script expects the libraries to be in .so format. I do not know if Apache on AIX

Re: FW: Error running make for subversion

2017-06-08 Thread Philip Martin
"Joseph, Anselm" writes: > FYI, > I upgraded to httpd-2.4.25, but still getting the same error. > Are your other Apache modules .so or .a? All .so under > ../httpd-2.4.25/apache/modules > > There are older versions of mod_authz_svn.so mod_dav_svn.so from a > previous/older

Re: FW: Error running make for subversion

2017-06-08 Thread Philip Martin
"Joseph, Anselm" writes: > Hello all, > Any chance someone has some time to take a look at the attached files > and give me some pointers. I am not making any progress at all. > Thanks in advance. This page: https://www.ibm.com/developerworks/aix/library/au-gnu.html

Re: AW: Timestamp issue with "svn status" in 1.9.3

2016-03-04 Thread Philip Martin
Peter Klotz writes: > Instead of "why is the second change not reported" it should be "why > is the first change reported". > > Relevant part of the script: At this point Subversion has recorded a timestamp for the file. > echo "2" > x > touch -m -t

Re: Timestamp issue with "svn status" in 1.9.3

2016-03-04 Thread Philip Martin
# timestamp equal so modification not detected $ -- Philip Martin WANdisco

Re: parent directory is referenced by "svn info"?

2016-03-03 Thread Philip Martin
t causes the behavior you describe it will not be fixed > in the 1.6 release branch. If you can, upgrade to either 1.8 or 1.9. Symbolic links break some 1.6 operations: $ svn1.6 co file:///... wc $ svn1.6 info $PWD/wc | grep Kind Node Kind: directory $ ln -s wc wc2 $ svn1.6 info $PWD/wc2 svn: '/home/pm/sw/subversion/obj3' is not a working copy -- Philip Martin WANdisco

Re: files always reported as reverted for different owner

2016-02-15 Thread Philip Martin
"Bert Huijben" <b...@qqmail.nl> writes: > (I'm unable to reproduce your issue with just your script) I can reproduce, I've raised: https://issues.apache.org/jira/browse/SVN-4622 -- Philip Martin WANdisco

Re: Apache 2.4, Worker MPM, SVN 1.7.20, MOD_DAV_SVN and Post-Commit Hooks

2016-02-15 Thread Philip Martin
or this information. That's good to know! Added in 1.8, it's not in 1.7. -- Philip Martin WANdisco

Re: Apache 2.4, Worker MPM, SVN 1.7.20, MOD_DAV_SVN and Post-Commit Hooks

2016-02-11 Thread Philip Martin
vnserve in threaded mode with the svn:// protocol to see if the problem is limited to Apache. You could try building more recent APR/Apache/Subversion. -- Philip Martin WANdisco

Re: Apache 2.4, Worker MPM, SVN 1.7.20, MOD_DAV_SVN and Post-Commit Hooks

2016-02-11 Thread Philip Martin
Philip Martin <philip.mar...@wandisco.com> writes: > You could try building more recent APR/Apache/Subversion. Since you are already building Subversion you could try running Subversion's regression tests for Apache worker: make davautocheck CLEANUP=1 PARALLEL=1 APACHE_MPM=worker -- Philip

Re: Apache 2.4, Worker MPM, SVN 1.7.20, MOD_DAV_SVN and Post-Commit Hooks

2016-02-11 Thread Philip Martin
et a hang in your normal configuration. Perhaps one of the other Apache modules? If you attach a debugger (dbx?) to the process a stack trace might provide a clue. The stack trace will be more useful if you have debug symbols but your binaries may be compiled without. -- Philip Martin WANdisco

Re: cannot delete directory with deleted zombie-locked file

2016-02-10 Thread Philip Martin
t the issue, so the developers > can prevent this trouble for others in the future? No. -- Philip Martin WANdisco

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

2016-02-01 Thread Philip Martin
Stefan Fuhrmann <stef...@apache.org> writes: > So, all user content is there and merely the deduplication failed > (as already being investigated elsewhere in this thread). I suppose format 7 might allow us to implement a system that fixes missing deduplication during packing. -- P

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

2016-01-29 Thread Philip Martin
the connection. If the rep-cache fails to open when first accessed then this failure can be cached for the entire svnsync run with the result that the entire svnsync run will do no deduplication. This is probably a good thing if the problem is a corrupt file that will always fail to work. It is less g

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

2016-01-29 Thread Philip Martin
for this rev has been executing in the middle of day so > it is possible I tried to peek "how big the repo is at disk". The SQLite code expects there to be contention for the file and has a timeout (10s as I recall). In your case something appears to have blocked access for an extended period of time. -- Philip Martin WANdisco

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

2016-01-29 Thread Philip Martin
e able to identify which revisions are missing from the 1.9 rep-cache. There isn't any way to fix the missing deduplication other than a dump/load, but it would be interesting to find out why it failed. Which method did you use to write during sync: file, svn or http? -- Philip Martin WANdisco

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

2016-01-28 Thread Philip Martin
fewer entries, or many refuse to return any results at all if the file is corrupt. -- Philip Martin WANdisco

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

2016-01-28 Thread Philip Martin
Philip Martin <philip.mar...@wandisco.com> writes: > You can see how many entries there are with: > > sqlite3 repo/db/rep-cache.db "select count(*) from rep_cache order" That should be: sqlite3 repo/db/rep-cache.db "select count(*) from rep_cache" -- Philip

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

2016-01-28 Thread Philip Martin
out the same size? You can run svnlook tree path/to/repo to get a listing of all the paths visible in HEAD, you should get the same list for 1.8 and 1.9. 1.9 provides svnfsfs stats path/to/repo which you can run on both the 1.8 and 1.9 repositories. -- Philip Martin WANdisco

Re: Debian Linux 32 vs. 64 bit

2016-01-25 Thread Philip Martin
hen there are BDB library compatibility issues: a recover/upgrade may be needed and downgrading to older BDB is not always possible. -- Philip Martin WANdisco

Re: Debian Linux 32 vs. 64 bit

2016-01-25 Thread Philip Martin
David Chapman <dcchap...@acm.org> writes: > On 1/25/2016 10:45 AM, Philip Martin wrote: >> It should just work for both repositories and working copies. > > Is that documented somewhere, such that system administrators can rely > on it? I don't know if it is expli

Re: Subversion commit email script and "unprintable" characters

2016-01-20 Thread Philip Martin
Subversion 1.8 package for RHEL/CentOS 6 is going to be rebuilt to have useable python bindings. -- Philip Martin WANdisco

Re: Subversion commit email script and "unprintable" characters

2016-01-20 Thread Philip Martin
Alfred von Campe <alf...@von-campe.com> writes: > On Jan 19, 2016, at 15:09, Philip Martin wrote: > >> I think that means your bindings were built against python 2.7, which >> provides PyCapsule_Import, while you are trying to use 2.6, which does >> not provide it

Re: Subversion commit email script and "unprintable" characters

2016-01-19 Thread Philip Martin
> PyCapsule_Import I think that means your bindings were built against python 2.7, which provides PyCapsule_Import, while you are trying to use 2.6, which does not provide it. -- Philip Martin WANdisco

Re: Apache+Kerberos+SVN works with IE repo browser, but not Chrome or TSVN ???

2015-12-18 Thread Philip Martin
y authn modules such as mod_auth_kerb and mod_auth_ldap. This bug causes Apache to return 401 responses without a WWW-Authenticate header and this means clients do not attempt to authenticate. 1.8.15 as a fix for this bug. -- Philip Martin WANdisco

Re: Apache+Kerberos+SVN works with IE repo browser, but not Chrome or TSVN ???

2015-12-18 Thread Philip Martin
15 the relevant revision is: http://svn.apache.org/viewvc?view=revision=r1708699 -- Philip Martin WANdisco

Re: Unexpected HTTP status 400 'Bad request'.

2015-12-09 Thread Philip Martin
https:// one possibility is to use socat as an http<->https relay: socat -v TCP6-LISTEN:9630,reuseaddr,fork OPENSSL:localhost:443,verify=0 Then use http:// to socat and have socat use https to apache: svn ls http://localhost:9603/... -- Philip Martin WANdisco

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

2015-12-02 Thread Philip Martin
>> > >> > That is how the permissions have been set on the script all this time, >> > but although the file:// protocol works, svn+ssh:// has always given >> > the error message being discussed. The ssh user also need read access to the parent hooks/ directory. -- Philip Martin WANdisco

Re: restore error svnadmin: E160013: File not found

2015-11-27 Thread Philip Martin
wever your repository is corrupt and it is hard to predict exactly what will work and what will fail. -- Philip Martin WANdisco

Re: svn_repos_fs_commit_txn error

2015-11-25 Thread Philip Martin
alize(), APR docs state that > interface MUST be called, and have no graceful-degradation-if-not- > called clause. Correct, I should have limited that to the Subversion functions. -- Philip Martin WANdisco

Re: API for creating file and revision

2015-11-25 Thread Philip Martin
ady created in the repository, what's the API to create a > revision of it? The same functions, svn_fs_apply_text() or svn_fs_apply_textdelta(), are used to modify both new and existing files. -- Philip Martin WANdisco

Re: svnlook changed doesn't include all of the files that are part of the commit

2015-11-23 Thread Philip Martin
is partly because there is less demand for them. -- Philip Martin WANdisco

Re: Subversion C API

2015-11-09 Thread Philip Martin
go > from there? The user workspace will still be "the subversion user workspace" > and the server side will be the server side. In fact, check out tortise SVN > (or other desktop integrations of subversion). You might not even need to > write anything. > > I asked again w

Re: Subversion C API

2015-11-09 Thread Philip Martin
t; (test_fs), I can figure out use case (1), (3) and (4). But not sure how to > do for use case (2) open a directory/root and get its latest files and > folders. > > > > > -Original Message- > From: Philip Martin [mailto:philip.mar...@wandisco.com] > Sent: Monday, Nove

Re: Problems with empty svn:date revprops (github svnsync)

2015-10-27 Thread Philip Martin
te invisible. svnsync will cope with this. The problem is this case is an invalid date is present and that is not allowed. The work around is to skip the init step by manually setting svn:sync-from-url, svn:sync-from-uuid and svn:sync-last-merged-rev. -- Philip Martin WANdisco

Re: JavaHL ISVNClient.vacuum yields assertion failed (1.9.2)

2015-10-23 Thread Philip Martin
vn.apache.org/viewvc?view=revision=r1710215 -- Philip Martin WANdisco

Re: subversion 1.9.2 could not be built "all-static" on FreeBSD 10+

2015-10-19 Thread Philip Martin
Subversion's configure doesn't use link-libtool so the -R doesn't propagate into Subversion's Makefile: $ pkgconf serf-1 --cflags -I/usr/local/include/serf-1 $ pkgconf serf-1 --libs-only-l -lserf-1 $ pkgconf serf-1 --libs -L/usr/local/lib -lserf-1 $ apr-1-config --link-libtool -L/usr/local/lib -R/usr/local/lib -lapr-1 -- Philip Martin WANdisco

Re: subversion 1.9.2 could not be built "all-static" on FreeBSD 10+

2015-10-19 Thread Philip Martin
l -lcrypto' and those are the missing libraries I had to add to get the final link to work. -- Philip Martin WANdisco

Re: subversion 1.9.2 could not be built "all-static" on FreeBSD 10+

2015-10-19 Thread Philip Martin
script does not add the -R so I suppose on of the dependencies must be telling Subversion to add it. What does your configure line look like? Have you build any of the dependencies yourself? Why do you want to build --enable-all-static? -- Philip Martin WANdisco

Re: Bug report: The auto-props setting of svn:mime-type is impossible to avoid.

2015-10-02 Thread Philip Martin
ies on 'wc/a.xml': svn:mime-type application/xml -- Philip Martin WANdisco

Re: svnrdump produce a strange dump file

2015-10-01 Thread Philip Martin
ut you have not provided enough details for us to be able to determine what caused it. You could start by giving us the commands you used to dump and load and the error message you received. If you are manipulating the dump file and assuming that it is a text file then you may corrupt it. -- Philip Martin WANdisco

Re: Fwd: start-commit hook client capabilities - mergeinfo only?

2015-09-16 Thread Philip Martin
bilites this can only be trusted in so far as you trust the client to send the correct information. -- Philip Martin WANdisco

Re: start-commit hook client capabilities - mergeinfo only?

2015-09-15 Thread Philip Martin
archive-2007-11/0347.shtml The revision in question is now r867730. -- Philip Martin WANdisco

Re: 1.9 - Can't resolve to 'mine full' option for binary file conflict

2015-09-14 Thread Philip Martin
case: My workaround was to let >> > the file in conflict and afterwards resolve the conflict by reverting >> > the file (so it was in the repository's state which I intended). >> >> In case of a binary file the original working copy version is left as the >> working version, whereas for text conflict the working copy version is >> changed into a mine version and a best effort merge is performed to the a >> new working copy version potentially containing conflict markers. >> >> In this case you probably get the result you want by just choosing the >> working copy version. The Subversion developer responsible for choosing >> this UI determined that it didn't make much sense to offer two different >> resolve options with exactly the same result. >> >> Bert >> >> > >> > -- >> > Regards, >> > Stefan Hett >> >> >> -- Philip Martin WANdisco

Re: 1.9 - Can't resolve to 'mine full' option for binary file conflict

2015-09-14 Thread Philip Martin
Philip Martin <philip.mar...@wandisco.com> writes: > or perhaps this: > > Index: ../src/subversion/svn/conflict-callbacks.c > === > --- ../src/subversion/svn/conflict-callbacks.c(revision 1702397) > +

Re: AW: AW: AW: NTLM authentication in subversion 1.9.0?

2015-09-12 Thread Philip Martin
tly is "Mod Auth NTLM"? The apachehaus site does not have obvious source code links. There appear to be several NTLM modules on the net and I cannot identify the one you are using. Can you provide the source code, or a link to the source code? -- Philip Martin WANdisco

Re: AW: AW: NTLM authentication in subversion 1.9.0?

2015-09-11 Thread Philip Martin
ou are using mod_access_compat, do you have any Order, Deny, Allow, Satisfy directives outside the DAV Location? -- Philip Martin WANdisco

Re: File in repo but wont check out

2015-09-10 Thread Philip Martin
n/wc.db "select * from nodes where local_relpath like '%Courthouse.jpg'" to see what working copy has for the path. -- Philip Martin WANdisco

Re: File in repo but wont check out

2015-09-10 Thread Philip Martin
Philip Martin <philip.mar...@wandisco.com> writes: > Andy Colson <a...@squeakycode.net> writes: > >> $ svn co svn://marajade/counties2/8.0/htdocs/img/phelpsmo >> Aphelpsmo/GISLogo2.png >> Aphelpsmo/PCATransparent.png >> Aphelpsmo/SignE

Re: Problem with svnsync when the auth directory has been removed

2015-08-22 Thread Philip Martin
Vincent Lefevre vincent-...@vinc17.net writes: On 2015-08-20 17:12:58 +0100, Philip Martin wrote: It is recorded the same way all other auth credentials are recorded. Except for svn+ssh (which is what I always use) because the auth credentials are part of the SSH configuration. In what

Re: Problem with svnsync when the auth directory has been removed

2015-08-20 Thread Philip Martin
. It is documented in svnsync init --help. I've updated the file in notes to refer to --source-username and --sync-username. -- Philip Martin WANdisco

  1   2   3   4   5   6   7   >