Re: Is it possible to export multiple files in one command?

2023-01-22 Thread Daniel Shahaf
Bo Berglund wrote on Sat, 21 Jan 2023 09:30 +00:00: > What I would like to know is if there is an svn export command switch of some > kind that can be used to export a set of files in one go if they reside in the > same subversion directory? svn checkout --depth=empty

Re: filename encodings and conversion failure

2022-12-23 Thread Daniel Shahaf
Daniel Sahlberg wrote on Fri, 23 Dec 2022 08:58 +00:00: > Example: Commit a file with ? (questionmark) in the filename on Linux and > checkout the file on Windows. Or case-colliding files: url=`svn info --show-item=url` svn mkdir -- $url/foo $url/FOO svn up > This is a case where a conversion

Re: filename encodings and conversion failure

2022-12-23 Thread Daniel Shahaf
Karl Berry wrote on Thu, 22 Dec 2022 22:40 +00:00: > A file with a name that has some "eight-bit" UTF-8 bytes (fn...-utf8.tex) > was committed to one of my repositories. When I try to check it out in > the C locale, svn complains: > > $ echo $LC_ALL > C > $ svn update > svn: E22: Can't convert

Re: Questions about setting up Subversion Server

2022-11-23 Thread Daniel Shahaf
Felix Natter wrote on Tue, Nov 15, 2022 at 09:03:49 +0100: > - In my svnserve wrapper I call this: > > exec /usr/bin/svnserve "$@" -r /repos > > -> Does the (Linux-) system automatically call this with "-t"? > The -t is added by the client when it invokes the tunnel command (ssh(1)). This is

Re: Triage recovery of damaged Subversion repo

2022-11-11 Thread Daniel Shahaf
Michael K wrote on Fri, Oct 28, 2022 at 17:25:19 -0500: > I am working on an important Subversion repository that was hit by a > targeted ransomware attack. Apparently the backups were deleted securely as > well, though there is a backup from a few years back that was unaffected in > different

Re: Windows, svn propset svn:ignore *

2022-08-28 Thread Daniel Shahaf
Jon Daley via users wrote on Fri, 26 Aug 2022 13:13 +00:00: > I don't use Windows, so I can't help you on the escaping of the *, but I > often use propedit, rather than propset (partly because I can never > remember the order of the directory and the property value), Usually (not just in svn)

Re: Invalid cross-link error when have a mounted subdirectory

2022-08-08 Thread Daniel Shahaf
Jon Daley via users wrote on Mon, Aug 08, 2022 at 05:12:37 -0400: > On Sun, 7 Aug 2022, Nico Kadel-Garcia wrote: > > On Sun, Aug 7, 2022 at 8:40 AM Jon Daley via users > > wrote: > > > > > > I'm not sure what version this change happened in, but I used to be able > > > to have my /home directory

Re: What's the status of changing UUIDs of repos in working copies?

2022-07-14 Thread Daniel Shahaf
Ryan Schmidt wrote on Wed, 13 Jul 2022 21:45 +00:00: > [...] that way all your public users' working copies continue to work > as before, and you would just need to check out new working copies for > those hopefully fewer and more technically capable internal users who > were using the formerly

Re: What's the status of changing UUIDs of repos in working copies?

2022-07-13 Thread Daniel Shahaf
Thorsten Schöning wrote on Mon, Jul 11, 2022 at 16:06:11 +0200: > BUT: Each working copy stores a UUID of it associated repo and those > UUIDs are different between private and public repos. In the past, it > wans't supported to change that, one needed to either replace them in > config files or

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
Dmitry Minsky wrote on Tue, 28 Jun 2022 13:18 +00:00: >> What does the "folder with files" contain? > > Just a random files on my computer ;) It’s not from working copy or > repository or anything else meaningful. Let’s assume that it’s just a > bunch of random files which I want to put in the

Command-line tool for applying deltas? (was: Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?)

2022-06-28 Thread Daniel Shahaf
Good morning dev@, Anyone has a script that takes as input a file and an svndiff and emits to stdout the result of applying the latter to the former? This came up on users@ in the context of reconstructing a truncated rev file. I've checked tools/. Cheers, Daniel Daniel Shahaf wrote on Tue

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
on step #1) To regenerate the new dir reps of the truncated r7449 based on r7450 and following revisions. Daniel > % svnadmin dump /var/repo_serpico -r7451 > ~/sdb/test.dump > svnadmin: E160004: Corrupt representation '7449 21 25 159 > 8f3d18747d3388ff2b35096cafbd57ab - -' > svnadmin

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
ev files, and possibly node-rev id's. Anything else? What's the output of «sqlite3 rep-cache.db '.header on' 'SELECT * FROM rep_cache WHERE revision = 7449'»? Does any rev file after 7449 contain " 7449 " on a "text:" or "props:" line? Does any rev file after 7449

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
Dmitry Minsky wrote on Tue, 28 Jun 2022 11:01 +00:00: > Ok. I’m pretty sure that db/revs/7/7449 is just truncated. Since there > aren’t any signs of any text readable data at the bottom of the file > and the top of file looks similar to 7448, 7450 and to any other > revision. > > So, let’s say

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-21 Thread Daniel Shahaf
e might look like. Cheers, Daniel P.S. For any future FSFS hackers out there, note that it's likely r7449 added a file or a directory. (Why? Because gung bhgchg fubjf n /frys-pbzcerffrq/ qrygn.) > On Sun, Jun 19, 2022 at 12:19 PM Daniel Shahaf > wrote: > >> Dm

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-19 Thread Daniel Shahaf
Dmitry Minsky wrote on Sat, 18 Jun 2022 17:16 +00:00: > I have a pretty old repository and now going to move it to another machine. > When I start the dump process I stumbled upon this error in one of the old > revisions: > > svnadmin: E16004: Invalid r4422 footer > It's actually E160004. (Just

Re: Question about mergeinfo and 2-url merge

2022-05-14 Thread Daniel Shahaf
ase any of the other devs respond to my previous post with the analysis and the specific question. > Thanks again. > You're welcome. Daniel > Christophe > > On 5/14/2022 5:39 AM, Daniel Shahaf wrote: >> Christophe Royer wrote on Fri, May 13, 2022 at 10:45:14 -0700: >>&

Re: Question about mergeinfo and 2-url merge

2022-05-14 Thread Daniel Shahaf
in the changes to fileA.txt made in that revision. I'm guessing the 2-URL merge added mergeinfo for trunk:4-5 because trunk:4-5 appear in the diff between trunk@HEAD and foo@HEAD. Similarly, the changes to fileA.txt in r5 weren't part of that diff and therefore weren't added to bar. The resulting state

Re: SVN Diff fails with error

2022-05-12 Thread Daniel Shahaf
Aravind Raj wrote on Mon, 09 May 2022 09:27 +00:00: > As the changes are huge we are getting the above error, this does not > happen when the change is short. Another important observation is, this > issue does not happen in Tortoise SVN version below 1.8. So, *assuming for > Subversion client

Re: Question about mergeinfo and 2-url merge

2022-05-12 Thread Daniel Shahaf
Could you post the script, please? It's hard to answer your question when it describes the details verbally rather than machine-readably. It sounds like a supported scenario. Cheers, Daniel Christophe Royer wrote on Fri, 06 May 2022 21:46 +00:00: > I recently saw some mergeinfo that I can

Re: configure script enhancement proposal

2022-04-22 Thread Daniel Shahaf
Ilari Jääskeläinen wrote on Sat, 16 Apr 2022 10:03 +00:00: > Should it probe for libexpat with pkg-config? Well, expat does register itself with pkg-config (on my system at least), so I imagine we'll accept patches for this. Sorry we didn't answer sooner. Cheers, Daniel

A New Feature[:] Film About Subversion

2022-03-31 Thread Daniel Shahaf
[ Follow-ups to dev@ only, please. ] Hi, everybody! As y'all may recall, issue #525 concerns implementing working copies that need not store an unmodified copy ("pristine", formerly "text-base") of every versioned file: https://subversion.apache.org/issue/525 Our currently-envisioned

Re: merging into a read only file succeeds

2022-02-25 Thread Daniel Shahaf
Daniel Shahaf wrote on Fri, Feb 25, 2022 at 21:41:10 +: > Daniel Shahaf wrote on Fri, Feb 25, 2022 at 15:18:44 +: > > Nathan Hartman wrote on Thu, 24 Feb 2022 23:44 +00:00: > > > On Thu, Feb 24, 2022 at 2:33 PM Mark Phippard wrote: > > >> Maybe merge sh

Re: merging into a read only file succeeds

2022-02-25 Thread Daniel Shahaf
Daniel Shahaf wrote on Fri, Feb 25, 2022 at 15:18:44 +: > Nathan Hartman wrote on Thu, 24 Feb 2022 23:44 +00:00: > > On Thu, Feb 24, 2022 at 2:33 PM Mark Phippard wrote: > >> Maybe merge should just refuse to run at all if it detects any > >> svn:need

Re: merging into a read only file succeeds

2022-02-25 Thread Daniel Shahaf
Mark Phippard wrote on Fri, 25 Feb 2022 17:59 +00:00: > On Fri, Feb 25, 2022 at 12:29 PM Daniel Shahaf > wrote: >> >> Mark Phippard wrote on Fri, Feb 25, 2022 at 10:39:13 -0500: >> > On Fri, Feb 25, 2022 at 10:19 AM Daniel Shahaf >> > wrote: >> >

Re: merging into a read only file succeeds

2022-02-25 Thread Daniel Shahaf
Mark Phippard wrote on Fri, Feb 25, 2022 at 10:39:13 -0500: > On Fri, Feb 25, 2022 at 10:19 AM Daniel Shahaf > wrote: > > > > Nathan Hartman wrote on Thu, 24 Feb 2022 23:44 +00:00: > > > On Thu, Feb 24, 2022 at 2:33 PM Mark Phippard wrote: > > >> > &g

Re: merging into a read only file succeeds

2022-02-25 Thread Daniel Shahaf
Nathan Hartman wrote on Thu, 24 Feb 2022 23:44 +00:00: > On Thu, Feb 24, 2022 at 2:33 PM Mark Phippard wrote: >> >> On Thu, Feb 24, 2022 at 10:51 AM Lorenz wrote: >> >> > just discovered, that merging into a RO file succeeds. >> > I my case the file is RO because of a needs-lock property. >> >

Re: List modified on a branch

2022-02-11 Thread Daniel Shahaf
Stefan Sperling wrote on Fri, 11 Feb 2022 10:57 +00:00: > On Fri, Feb 11, 2022 at 08:29:35AM +, Mikael Stålhammar wrote: >> Is there a simple command that lets you list files that have been modified >> and committed on a feature branch but excluding any files that are committed >> on the

Re: Subversion environmental variables

2022-02-08 Thread Daniel Shahaf
Nathan Hartman wrote on Thu, 03 Feb 2022 19:12 +00:00: > On Thu, Feb 3, 2022 at 1:31 PM Jeffrey Walton wrote: >> I checked the man pages and could not find an answer... What >> environmental variables does a subversion client use? >> >> The problem I am trying to solve is, I am being prompted for

zsh completion updated

2022-01-29 Thread Daniel Shahaf
If you use zsh, feel free to grab https://sourceforge.net/p/zsh/code/ci/04513dd5df31bc235691400b76a524d117cefede/tree/Completion/Unix/Command/_subversion?format=raw and drop it into a directory that's in your $fpath variable (`print -raC1 -- $fpath`). Earlier directories have precedence over

Re: SVN basic questions.

2021-08-20 Thread Daniel Shahaf
Daniel Sahlberg wrote on Fri, 20 Aug 2021 07:55 +00:00: > Den fre 20 aug. 2021 kl 05:02 skrev A Z : > > -Can multiple users add to a committed branch node, and que up > > adds, or is this in fact going to nothing, while granting a message? > > Is it the case that only the first add to the

Re: Simple Trio of Questions about Apache SVN

2021-08-17 Thread Daniel Shahaf
Andreas Stieger wrote on Tue, 17 Aug 2021 08:24 +00:00: > Hi, >   > > -In SVN, can you have multiple additions, queued up, marked with an A? > > No queuing feature, but changelists on file granularity. > See https://svnbook.red-bean.com/nightly/en/svn.advanced.changelists.html > > > If so, can

Re: svn authz error: Access denied issue when running svn rm resource where the user should be able to have full access

2021-08-01 Thread Daniel Shahaf
Andrei Cusnir wrote on Sat, Jul 31, 2021 at 02:01:30 +0200: > Hi Daniel, > can you please let me know if this is a case for which I should open a bug > ticket, Yes, please, and please link to this thread from the ticket. > or this is something that has to do with the authz file contents. As I

Re: svn authz error: Access denied issue when running svn rm resource where the user should be able to have full access

2021-07-30 Thread Daniel Shahaf
Daniel Shahaf wrote on Sat, Jul 31, 2021 at 00:41:48 +: > Now, the delete logic should request a *non* recursive access check if > the thing to be deleted is a plain file in HEAD. > subversion/libsvn_repos/commit.c:delete_entry() > does behave this way — when the .uasset pat

Re: svn authz error: Access denied issue when running svn rm resource where the user should be able to have full access

2021-07-30 Thread Daniel Shahaf
Daniel Sahlberg wrote on Thu, Jul 22, 2021 at 16:51:02 +0200: > Den ons 21 juli 2021 kl 22:30 skrev Andrei Cusnir : > > [groups] > > r_users = Alexander_Lost > > > > [:glob:/] > > * = rw > > > > [:glob:/**/*.uasset] > > @r_users = rw > > > > [:glob:/**/Source/**] > > @r_users = > > Do you know

Re: svn authz error: Access denied issue when running svn rm resource where the user should be able to have full access

2021-07-30 Thread Daniel Shahaf
[dev@: tl;dr: mod_authz_svn shouldn't require svn_authz_recursive access on DELETE when the target is a file] Andrei Cusnir wrote on Wed, Jul 21, 2021 at 21:58:04 +0200: > Hi, > here is my authz config file > > [groups] > r_users = Alexander_Lost > > [:glob:/] > * = rw > >

Re: svn: E160013: File not found: transaction '41-1j'

2021-07-16 Thread Daniel Shahaf
Nathan Hartman wrote on Thu, Jul 15, 2021 at 16:52:18 -0400: > Also, you might try using %20 in place of spaces and see if that makes > a difference. Perhaps by mistake one of those spaces is a different > codepoint, so looks like a regular space, but isn't. Good idea, but there's no reason to

Re: svn: E160013: File not found: transaction '41-1j'

2021-07-16 Thread Daniel Shahaf
David Aldrich wrote on Thu, Jul 15, 2021 at 17:18:47 +0100: > Another team member had attempted the rename earlier today but it failed > with a permissions error. That's probably unrelated, but still, please quote the error message. > Could there be some incomplete transaction lurking in the

Re: svn: E160013: File not found: transaction '41-1j'

2021-07-16 Thread Daniel Shahaf
David Aldrich wrote on Thu, Jul 15, 2021 at 15:54:00 +0100: > I'm trying to rename a directory and I get this error on commit: > > Adding TML/RIC_Initial_Use_Case_Analysis > svn: E155011: Commit failed (details follow): > svn: E155011: Directory '//Feasibility Studies/Use Case >

Re: svn log xml hangs and produces too many logentry closing tags

2021-07-16 Thread Daniel Shahaf
Attila wrote on Tue, Jul 13, 2021 at 23:48:48 +0200: > Hi > > I have a problem getting the svn log in a branch after sync-merging a commit > from trunk. > This commit in trunk is a merge of an old and complex branch with many > commits. > > The client accessing the repository over svn:// url.

Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Daniel Shahaf
Ranajit Ghosh wrote on Wed, Jun 09, 2021 at 17:27:20 +0530: > Hi, Not much luck! If I put the text in the front, it is not being able to > process/recognize a multi word string and throwing error like below: > > If I put the below message in the command line > svn -m "jira:RTPS-9898 EPC 2021

Re: Getting error E205009 upon doing SVN copy using URL

2021-06-09 Thread Daniel Shahaf
Thorsten wrote on Wed, Jun 09, 2021 at 13:30:51 +0200: > My next guess would be that the -m paramter simply must be in the front. > For reference, options and positional arguments can be freely mixed (except when «--» is used to terminate options).

Re: Using IIS as a reverse proxy in front of Apache/SVN

2021-06-09 Thread Daniel Shahaf
Daniel Sahlberg wrote on Wed, Jun 09, 2021 at 08:18:04 +0200: > Hi, > > We are using VisualSVN server (basically Apache 2.4.48 and Subversion > 1.14.1 on Windows) on https://svn.companyname.tld, listening on port 443. > Currently this is on a separate server. I need to consolidate the servers >

Re: Is it possible to get the location of WC in a post-commit hook?

2021-06-09 Thread Daniel Shahaf
Some ideas: - Parse the operational log to determine the IP address of the commit - Pass the hostname and wc path in a revprop - Embed the hostname and wc path in the user-agent string and use persist-ephemeral-txnprops.py [admittedly a bit hacky; this isn't what the user-agent string is

Re: Unexpected behavior of svn log -r BASE:HEAD

2021-06-03 Thread Daniel Shahaf
Yasuhito FUTATSUKI wrote on Thu, 03 Jun 2021 04:25 +00:00: > In article > > guillaume.brune...@gmail.com writes: > > Den ons 2 juni 2021 12:47Yasuhito FUTATSUKI skrev: > > Ah, thank you, I guess the help message should be fixed then? > > I have no idea about how accurate it should be in

Re: Need help in Subversion migration

2021-05-17 Thread Daniel Shahaf
Mark Phippard wrote on Mon, 17 May 2021 12:24 +00:00: > > > On May 17, 2021, at 8:21 AM, jackson wrote: > > > >  > > Hello Everyone > > > > We are using subversion 1.7 running in LInux 6.9. > > we are working on subversion migration along with OS upgrade > > > > Currently we have built

Re: svnpubsub/commit-hook.py:65 - variable url assigned but not used

2021-05-14 Thread Daniel Shahaf
sebb wrote on Fri, 14 May 2021 11:44 +00:00: > On Fri, 14 May 2021 at 12:22, Daniel Shahaf wrote: > > sebb wrote on Thu, 13 May 2021 14:29 +00:00: > > > > Is it misspelt? > > > > ITYM "misspelled" ;-) > > No, I am using British English. I know. That's what the emoticon was there to acknowledge.

Re: svnpubsub/commit-hook.py:65 - variable url assigned but not used

2021-05-14 Thread Daniel Shahaf
sebb wrote on Thu, 13 May 2021 14:29 +00:00: > On Thu, 13 May 2021 at 15:16, sebb wrote: > > On Thu, 13 May 2021 at 15:11, Daniel Shahaf wrote: > > > > > > sebb wrote on Wed, May 12, 2021 at 11:49:41 +0100: > > > > As the subject says > > > > &

Re: svnwcsub.py does not work across different SVN trees

2021-05-13 Thread Daniel Shahaf
sebb wrote on Thu, 13 May 2021 14:46 +00:00: > On Thu, 13 May 2021 at 15:03, Daniel Shahaf wrote: > > > > sebb wrote on Wed, May 12, 2021 at 10:47:15 +0100: > > > It looks like svnwcsub.py is not always able to update the workspace > > > > Don't use made-up

Re: svnwcsub.py - various pylint errors

2021-05-13 Thread Daniel Shahaf
sebb wrote on Wed, May 12, 2021 at 12:25:26 +0100: > pylint reports quite a few warnings and errors: > > svnwcsub.py:55:0: W0311: Bad indentation. Found 2 spaces, expected 4 > (bad-indentation) Don't hard-wrap program output in your emails. > svnwcsub.py:57:0: W0311: Bad indentation. Found 2

Re: svnpubsub/commit-hook.py:65 - variable url assigned but not used

2021-05-13 Thread Daniel Shahaf
sebb wrote on Wed, May 12, 2021 at 11:49:41 +0100: > As the subject says Assuming opener.open() actually returns a URL, I don't see the problem here. The variable documents the return type for anyone who may want to extend the function.

Re: watcher.py no longer uses urlparse

2021-05-13 Thread Daniel Shahaf
sebb wrote on Wed, May 12, 2021 at 11:48:17 +0100: > As the subject says. +1 to commit, but the log message should follow the house style, for example: [[[ * tools/server-side/svnpubsub/watcher.py (urlparse): Remove unused import. Approved by: danielsh ]]]

Re: svnwcsub.py does not work across different SVN trees

2021-05-13 Thread Daniel Shahaf
sebb wrote on Wed, May 12, 2021 at 10:47:15 +0100: > It looks like svnwcsub.py is not always able to update the workspace Don't use made-up terminology. The terms "repository" and "working copy" have specific meanings. Use those terms to refer to what they mean. Don't use those terms to mean

Re: svnpubsub/svnwcsub.py crashes if pidfile option is not supplied

2021-05-13 Thread Daniel Shahaf
sebb wrote on Tue, May 11, 2021 at 22:41:38 +0100: > On Tue, 11 May 2021 at 19:33, Daniel Shahaf wrote: > > > > sebb wrote on Tue, 11 May 2021 16:25 +00:00: > > > As the subject says, the code crashes as below unless --pidfile is > > > provided > > &

Re: svnpubsub/svnwcsub.py crashes if pidfile option is not supplied

2021-05-11 Thread Daniel Shahaf
sebb wrote on Tue, 11 May 2021 16:25 +00:00: > As the subject says, the code crashes as below unless --pidfile is provided > > File "./svnwcsub.py", line 559, in > main(sys.argv[1:]) > File "./svnwcsub.py", line 548, in main > d = Daemon('/dev/null', os.path.abspath(options.pidfile),

Re: Syntax error at svnpubsub/daemonize.py:59

2021-05-11 Thread Daniel Shahaf
sebb wrote on Tue, 11 May 2021 16:22 +00:00: > The code reads: > > 58:except (ChildTerminatedAbnormally, ChildForkFailed, > 59:DaemonTerminatedAbnormally, DaemonForkFailed), e: > > The ',' is invalid syntax; it should be 'as'. +1 to commit. Feel free to also nominate it for

Re: Enforce encryption client-side

2021-05-07 Thread Daniel Shahaf
Nils-Johan Andreasson wrote on Fri, May 07, 2021 at 15:41:47 +0200: > On Thu, May 6, 2021 at 3:24 PM Daniel Shahaf wrote: > > > Nils-Johan Andreasson wrote on Thu, May 06, 2021 at 14:48:01 +0200: > > > I have indeed considered svn+ssh but there are other details involved >

Re: Enforce encryption client-side

2021-05-06 Thread Daniel Shahaf
Nils-Johan Andreasson wrote on Thu, May 06, 2021 at 13:03:28 +0200: > Thanks Stefan for your response and pointers! > > There is no doubt my connections are already encrypted. > The issue is that the external library I'm referring to supports specifying > paths to source code using multiple

Re: Enforce encryption client-side

2021-05-06 Thread Daniel Shahaf
Nils-Johan Andreasson wrote on Thu, May 06, 2021 at 14:48:01 +0200: > Is there a way (command) to remotely determine if the svn server behind > 'hostname' has sasl enabled/uses encryption/enforces a min_ssf >= 128? > Preferably without having to send any authentication credentials (to not > risk

Re: Enforce encryption client-side

2021-05-06 Thread Daniel Shahaf
Nils-Johan Andreasson wrote on Thu, May 06, 2021 at 14:48:01 +0200: > I have indeed considered svn+ssh but there are other details involved which > makes me prefer to stay with svnserve and svn:// if possible. Does your library consider svn+foo:// secure? If so, you can define an svn+foo://

Re: Does a WC contain all log messages?

2021-04-25 Thread Daniel Shahaf
Bo Berglund wrote on Sat, 24 Apr 2021 15:54 +00:00: > On Sat, 24 Apr 2021 11:05:33 -0400 (EDT), Robert Heller > wrote: > > >I believe svn log always connects to the "server". The difference is where > >the > >"url" comes from. In the first form, the user explicitly provides the url > >and

Re: Does a WC contain all log messages?

2021-04-25 Thread Daniel Shahaf
Daniel Sahlberg wrote on Sat, 24 Apr 2021 15:18 +00:00: > Den lör 24 apr. 2021 16:52Bo Berglund skrev: > > 2) Run the command in the working copy dir: > > svn log -v > > > > I don't know if the second incarnation will only get whatever I have done > > myself > > when working on the project or

Re: Should 'svn help' with APR lifetime debug enabled run without issues?

2021-04-23 Thread Daniel Shahaf
Rick van der Zwet wrote on Fri, Apr 23, 2021 at 02:57:02 +0200: > I really liked the suggestions provided, they gave me the clearity I > needed with regards the lifetime debug flagging on 'svn help' output, > thanks! You're welcome. > FYI: I did some futher investigation on the specific problem

Re: Should 'svn help' with APR lifetime debug enabled run without issues?

2021-04-21 Thread Daniel Shahaf
Rick van der Zwet wrote on Wed, Apr 21, 2021 at 16:10:57 +0200: > Hi, > > I debugging crashes within the Trac (https://trac.edgewall.org/) when using > the svn backend. The issue seems to be related to Apache Portable Runtime > (APR) pool memory management at Trac together with subversion SWIG

Re: Does anyone know of a statically linked SVN-client for IPfire?

2021-03-24 Thread Daniel Shahaf
Thorsten Schöning wrote on Thu, Mar 18, 2021 at 14:27:30 +0100: > #!/bin/bash > > ## > # Wrapper to make LD_LIBRARY_PATH easily available per invocation. > # > # This distribution of SVN is mostly self-contained, but it's own private > shared libs need to be made > # available somehow. The

Re: How to work around E000018: invalid cross-device link

2021-03-11 Thread Daniel Shahaf
Daniel Sahlberg wrote on Thu, Mar 11, 2021 at 08:56:27 +0100: > Den ons 10 mars 2021 kl 16:21 skrev Zhao Wu : > > 1. sensitive files must be kept on encrypted file system, but to put the > > entire repo is too slow; > > > > Since you most probably have multiple working copies and individual >

Re: Restoring svn database

2021-03-09 Thread Daniel Shahaf
Jean-Baptiste DUBOIS wrote on Tue, Mar 09, 2021 at 12:02:51 +: > I have one last question regarding how svn tags are managed internally in > fsfs. > Is svn tag considered as a PLAIN data independant of previous revs or not ? As far as FSFS is concerned, there's no such thing as a tag. What

Re: Restoring svn database

2021-03-05 Thread Daniel Shahaf
Daniel Shahaf wrote on Fri, 05 Mar 2021 16:33 +00:00: > Format 2 doesn't support rep-sharing and doesn't deltify directory reps, > so simply running `svnlook changed -r 86` and then `svnlook cat -r 86` > against each file printed thereby should extract everything extractable. > Any gi

Re: Connection was forcibly closed

2021-03-05 Thread Daniel Shahaf
Renzo Rosales wrote on Fri, Mar 05, 2021 at 14:53:02 +: > We have a few remote users who are unable to run "svn up" to an internal > server in specific paths in a repository but can access others. The error is > "svn: E730054: Error running context: An existing connection was forcibly >

Re: Restoring svn database

2021-03-05 Thread Daniel Shahaf
r would both fail. However, if one figured out the location of /A/bar's node-rev header or rep, one could still read those directly, using the appropriate internal APIs. Cheers, Daniel > I try to used and patched the fsfsverify.py script without success. > > > > BR, > > Jea

Re: Restoring svn database

2021-03-03 Thread Daniel Shahaf
Stefan Sperling wrote on Wed, Mar 03, 2021 at 11:15:26 +0100: > On Wed, Mar 03, 2021 at 08:03:08AM +, Philippe DEMOUSTIER wrote: > > Following an issue on our servers, we lost approximatively 30% of our svn > > database. > > Admin dump fails so we're trying to restore some data manually.

Re: A more permanent home for the add-a-password-to-a-cached-username script? (was: Re: using svn cli with --non-interactive (in scripts) securely, without exposing password)

2021-03-03 Thread Daniel Shahaf
Daniel Sahlberg wrote on Wed, 03 Mar 2021 07:32 +00:00: > This brings up the question of translation. Futatuki translated the > text to Japanese last time - or can someone else volonteer? There is > also a Chinese translation, but it has not been updated for a long time > - is there someone who

Re: cannot find libsvn_fs_x-1.so.0, 1.10.7, CentOS 7

2021-03-02 Thread Daniel Shahaf
Nathan Hartman wrote on Tue, 02 Mar 2021 14:32 +00:00: > On Mon, Mar 1, 2021 at 6:36 PM Zube wrote: > > > > Trying to build 1.10.7 on CentOS 7 and failing. 1.10.6 builds fine. > > > > /usr/bin/ld: cannot find libsvn_fs_x-1.so.0: No such file or directory > > collect2: error: ld returned 1 exit

Re: A more permanent home for the add-a-password-to-a-cached-username script? (was: Re: using svn cli with --non-interactive (in scripts) securely, without exposing password)

2021-02-26 Thread Daniel Shahaf
Nathan Hartman wrote on Thu, Feb 25, 2021 at 13:29:48 -0500: > May I propose to have just one FAQ entry that simultaneously would answer: > * "what alternatives to plaintext caching are there?" > * "plaintext caching is supported but I want to *prevent* it" > * "plaintext caching is not supported

Re: A more permanent home for the add-a-password-to-a-cached-username script? (was: Re: using svn cli with --non-interactive (in scripts) securely, without exposing password)

2021-02-24 Thread Daniel Shahaf
Daniel Sahlberg wrote on Wed, Feb 24, 2021 at 23:27:18 +0100: > Learning Python has been on my todo list for ages, so I've cobbled > together something that seems to do the job. ☺ > There are basically two modes of operation: > > ./store-plaintext-password.py --listpassword|--list > > Which

Re: A more permanent home for the add-a-password-to-a-cached-username script? (was: Re: using svn cli with --non-interactive (in scripts) securely, without exposing password)

2021-02-23 Thread Daniel Shahaf
Daniel Sahlberg wrote on Tue, Feb 23, 2021 at 16:50:07 +0100: > Den tis 23 feb. 2021 16:40Nathan Hartman skrev: > > I think it's a good candidate for contrib (though it might be better > > to port it to portable Bourne shell first). > > > > Would a Python version be useful? Porting isa rewrite

A more permanent home for the add-a-password-to-a-cached-username script? (was: Re: using svn cli with --non-interactive (in scripts) securely, without exposing password)

2021-02-23 Thread Daniel Shahaf
Nathan Hartman wrote on Mon, Feb 22, 2021 at 14:36:58 -0500: > In a recent discussion on our dev mailing list, there is an example > shell script (for zsh) that saves a password file. See [2] and note > that there were a few corrections to the script so be sure to use the > latest version in that

Re: subversion 1.14.1: could not build python bindings (1.41.0 is Ok)

2021-02-16 Thread Daniel Shahaf
Nathan Hartman wrote on Tue, 16 Feb 2021 17:15 +00:00: > You can generate a diff to view the changes with: > > $ svn diff \ > https://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/swig/INSTALL\ >

Re: Migrate from StarTeam to Subversion

2021-02-03 Thread Daniel Shahaf
Mark Rutz wrote on Mon, 01 Feb 2021 19:21 +00:00: > Does anyone have procedures or tools for converting Micro Focus > StarTeam repositories to Subversion? We would like to convert the main > branch with history for each repository. For converting a single branch from any external VCS, the

Re: subversion on openbsd . is ssl-authority-files 1.14 broken ?

2021-02-03 Thread Daniel Shahaf
Sven F. wrote on Wed, 03 Feb 2021 00:41 +00:00: > so it probably 'tracked' down the problem into the lib ssl interraction > (serf?). libserf handles http/https. Subversion doesn't use SSL libraries directly for http. > I have no idea how to contact the serf developper, or how to test serv >

Re: Locked file - Windows - filesystem number instead of path is shown in error message

2021-01-12 Thread Daniel Shahaf
Martin Rupp wrote on Sun, 03 Jan 2021 03:27 +00:00: > What is the "filesystem '75510a91-dada-4f23-b575-03fe34008164'"? > > It seems it is the id for the svnserver (svnserve). > It's the repository UUID. The error message gives the repository UUID because there's no reason for the client to

Re: Why is svn not saving my password in Pi-OS?

2020-12-29 Thread Daniel Shahaf
Nathan Hartman wrote on Tue, 29 Dec 2020 13:45 -0500: > I don't think it's Subversion that's broken in this case. It's an issue of > configuration. The problem of the GUI dialog while accessing a machine via > SSH is a known complication that affects other software too. It will happen > with any

Re: Why is svn not saving my password in Pi-OS?

2020-12-29 Thread Daniel Shahaf
Bo Berglund wrote on Tue, 29 Dec 2020 19:00 +0100: > But for item 2 I drew a blank... > The Collabnet keyring_tool does not exist on my system: > $ which keyring_tool > (no output) > > So the instruction to "Create a keyring for your password." > by the operations below cannot be executed: > >

Re: mod_dav_svn and symbolic links

2020-12-25 Thread Daniel Shahaf
Ryan Schmidt wrote on Thu, 17 Dec 2020 09:59 +00:00: > > > On Dec 16, 2020, at 13:13, M.Eng. René Schwarz wrote: > > > I am using mod_dav_svn with Apache2 in combination with a SVN repository > > containing symbolic links. When a URL pointing to a symbolic link is > > accessed, the web server

Re: svn diff -c does not accept HEAD

2020-12-07 Thread Daniel Shahaf
Nathan Hartman wrote on Mon, 07 Dec 2020 20:50 +00:00: > On Mon, Dec 7, 2020 at 1:47 PM Yasuhito FUTATSUKI > wrote: > > > > As the error message says, '-c' option accepts only numeric revision. > > It seems it is a kind of bug that the help text is not kind enough. > > A possible rationale

Re: svn log says text-mods="true" but there are no diffs

2020-12-04 Thread Daniel Shahaf
Vincent Lefevre wrote on Fri, 04 Dec 2020 01:08 +00:00: > I get the following: > > $ svn log --xml -v -r 1984 https://scm.gforge.inria.fr/anonscm/svn/mpfr > revision="1984"> > vlefevre > 2002-07-23T16:22:08.00Z > > prop-mods="false" >text-mods="true" >kind="file" >

Re: svn.haxx.se is going away

2020-11-24 Thread Daniel Shahaf
Nathan Hartman wrote on Tue, 24 Nov 2020 21:27 +00:00: > On Tue, Nov 24, 2020 at 2:56 AM Daniel Sahlberg > wrote: > > Den tors 12 nov. 2020 kl 17:46 skrev Daniel Sahlberg > > : > >> Could ASF provide this server space (basically a VirtualHost)? The archive > >> is about 6.5 GB so it is not a

Re: SVN log-diff crashes if server not available

2020-11-18 Thread Daniel Shahaf
Ryan Schmidt wrote on Wed, 18 Nov 2020 05:59 +00:00: > > > On Nov 17, 2020, at 17:13, Dirk Helgemo wrote: > > > Right-click a file > > There is no "right-click" in Subversion, which is a command line > program. You seem to be using TortoiseSVN, which is a different product > made by

Re: svn.haxx.se is going away

2020-11-05 Thread Daniel Shahaf
Daniel Sahlberg wrote on Thu, 05 Nov 2020 11:16 +0100: > Den ons 4 nov. 2020 kl 22:32 skrev Nathan Hartman >: > > > On Wed, Nov 4, 2020 at 3:32 PM Mark Phippard wrote: > > > > > > Just a general fyi ... I went to https://svn.haxx.se/ today to search > > the lists and noticed there is a

Re: svn.haxx.se is going away

2020-11-05 Thread Daniel Shahaf
Nathan Hartman wrote on Wed, 04 Nov 2020 16:32 -0500: > On Wed, Nov 4, 2020 at 3:32 PM Mark Phippard wrote: > > > > Just a general fyi ... I went to https://svn.haxx.se/ today to search the > > lists and noticed there is a banner on the site saying it is going offline > > forever soon. > > > >

Re: SVN and webdav

2020-10-05 Thread Daniel Shahaf
Marek Manukjan wrote on Mon, 05 Oct 2020 10:00 +00:00: > I'm not an expert on SVN's HTTP protocol so I don't know if there is > another variant of the Commit command like there are two modes of > Update, but from apache's access log it seems that Commit is done as > one initial POST request,

Re: Serialized hash missing terminator; svnadmin verify passes

2020-09-24 Thread Daniel Shahaf
d aren't the same one. Just wanted to rule that out. Thanks for sharing the workaround. Cheers, Daniel > Bruce > > On Wed, Sep 23, 2020 at 6:33 AM Daniel Shahaf > wrote: > > > Bruce Cowan wrote on Sun, 20 Sep 2020 13:52 -0500: > > > Just re

Re: Serialized hash missing terminator; svnadmin verify passes

2020-09-23 Thread Daniel Shahaf
Bruce Cowan wrote on Sun, 20 Sep 2020 13:52 -0500: > Just recently had a user unable to check out a folder. Going through the > logs found: > > Serialized hash missing terminator > Provider encountered an error while streaming a REPORT response > A failure occurred while driving the update report

Re: svnsync and commit metadata

2020-09-10 Thread Daniel Shahaf
James Stocks wrote on Thu, 10 Sep 2020 15:01 +0100: > [...], this wrongly asserts that the mirror is out of > sync during the brief window when the mirror hasn't caught up. > > We would like to find a way of inspecting the time of a given commit > being successfully synchronised to a mirror as

Re: [ISSUE] Cancelling svn checkout leaves an open file handle

2020-09-09 Thread Daniel Shahaf
That'd be a question for the SharpSvn maintainers. (SharpSvn is a third party project, not part of the core Subversion project.) Cheers, Daniel > Best regards, > Uros > > > On Tue, Sep 8, 2020 at 12:51 AM Daniel Shahaf > wrote: > > > Uroš Jovanović wrote on Mon, 07 Sep 2020 19

Re: [ISSUE] Cancelling svn checkout leaves an open file handle

2020-09-07 Thread Daniel Shahaf
Uroš Jovanović wrote on Mon, 07 Sep 2020 19:25 +0200: > when using SharpSvn in context of a larger > application, this would mean the user needs to close the entire application > because one unmanaged file handle was left alive. Have you tried clearing the relevant pools? Could you help

Re: COTS : [urgent] : Information required on security-related patches under APACHE GROUP

2020-08-05 Thread Daniel Shahaf
Subscribe to the announce@ mailing list. https://subversion.apache.org/mailing-lists

Re: svnmucc: new commands: add and modify/update

2020-07-24 Thread Daniel Shahaf
Daniel Sahlberg wrote on Fri, 24 Jul 2020 05:53 +00:00: > Den fre 24 juli 2020 01:46sebb skrev: > > I am suggesting that 'add' functionality could be added to svnmucc itself. > > This would make it more versatile, especially for use in shell scripts. > > Unless I'm mistaken, add is a purely

Re: Searching entire repository for a file (fastsvncrawler)

2020-07-23 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, 23 Jul 2020 17:22 +0200: > Some servers will advertise the SVN version on pages which can be visited > with a web browser. But this depends on the server's configuration. You may > have to ask the administrator to be sure about the server's exact version. > > If the

Re: svnmucc --revision 0 no longer works when creating a file

2020-07-23 Thread Daniel Shahaf
sebb wrote on Thu, 23 Jul 2020 11:18 +0100: > On Thu, 23 Jul 2020 at 01:17, Daniel Shahaf wrote: > > You can either parse stderr despite this complication, or use the > > API directly, in which case you'll sidestep this complication entirely > > (you'll get just one int

  1   2   3   4   5   6   7   8   9   10   >