Re: Is Subversion compatible and supported for Windows 10?

2017-02-22 Thread Nico Kadel-Garcia
On Tue, Feb 21, 2017 at 3:39 AM, Paul Jones (ICT)
 wrote:
> Dear Sir/Madam
>
>
>
> I am writing to you in regards to your application/system “Subversion” that
> we use in Bridgend County Borough Council
>
>
>
> We are going to be moving from Windows 7 to Windows 10 over the next few
> months and we would like to know:-
>
> 1.   If your application/system is going to be supported and compatible
> to work with Windows 10 and above ?
>
> 2.   If your application/system is going to be supported and compatible
> to work with Microsoft Office 2013 and above ?

Not as a developer, but as an engineer who's used and and activated
servers for it in a number of businesses: it's open source software,
it's well supported by the user community, there is a large user
community using it on Windows 10 for various professional business
environments. If you need user support for Windows 10, I'd look to the
"TortoiseSVN" packages which integrates quite well with all supported
versions of Windows and is based on the current Subversion release. If
you need Subversion server support, I'd reach out to Wandisco for
large scale support, or any local systems administrators who've worked
with at school or in other roles.

It's easy to setup, the guidebook at http://svnbook.red-bean.com/ is
*the* reference guide for new users and administrators,

> Can you please reply back to us as soon as possible with any concerns you
> have before we progress with this rollout ?

Since you've not mentioned the details of your rollout, it's difficult
to offer any guidance or suggestons. I would suggest that you think
about security policies, since Subversion clients often store
passwords in plain text, by default. They do try to warn you before
doing so, but some foolish people ignore this and accidentally store
critical passwords in places they can be stolen.

I'd also strongly review the workflow of when do you make a branch,
and when are changes committed to the master. And I'd review backup
procedures and practices for the master:

> Kind Regards
>
>
>
> Paul
>
>
>
> Paul Jones
>
> Support Team Leader
>
> ICT Department
>
>
>
> Cyngor Bwrdeistref Sirol Pen-Y-Bont ar Ogwr / Bridgend County Borough
> Council
>
> Ffon / Tel : 01656 642135
>
> E-bost / E-mail : paul.jone...@bridgend.gov.uk
>
>
>
>
> 
>
> E-bost yn cael ei logio, ei monitro a/neu ei chofnodi yn awtomatig am
> resymau cyfreithiol
> Peidiwch ag argraffu’r neges e-bost hon oni bai fod hynny’n gwbl
> angenrheidiol.
> Rydym yn croesawu gohebiaeth yn Gymraeg. Rhowch wybod i ni os mai Cymraeg yw
> eich dewis iaith.
> E-mail may be automatically logged, monitored and/or recorded for legal
> purposes.
> Please do not print this email unless absolutely necessary.
> We welcome correspondence in Welsh. Please let us know if your language
> choice is Welsh.
>
> This e-mail and any attachments transmitted with it represents the
> views of the individual(s) who sent them and should not be regarded
> as the official view of Bridgend County Borough Council. The contents
> are confidential and intended solely for the use of the addressee. If
> you have received it in error, please inform the system administrator
> on (+44) 01656 642111.
>
> This e-mail and any attachments have been scanned with 'Mcafee ' -
> http://www.mcafee.com/
>
> 
> Mae'r e-bost hwn ac unrhyw atodiadau a drosglwyddir gydag ef yn cynrychioli
> safbwyntiau'r unigolyn a'i anfonodd (unigolion a'u hanfonodd) ac ni ddylid
> eu
> hystyried fel safbwynt swyddogol Cyngor Bwrdeistref Sirol Pen-y-bont ar
> Ogwr.
> Mae'r cynnwys yn gyfrinachol ac wedi'i fwriadu ar gyfer y sawl y'i
> cyfeiriwyd ato
> yn unig. Os ydych wedi ei dderbyn mewn camgymeriad, rhowch wybod i weinyddwr
> y
> system ar (+44) 01656 642111.
>
> Mae'r e-bost hwn ac unrhyw atodiadau wedi cael eu sganio gyda 'Mcafee' -
> http://www.mcafee.com/
> 


Re: Is Subversion compatible and supported for Windows 10?

2017-02-22 Thread Pavel Lyalyakin
Hello,

On Tue, Feb 21, 2017 at 11:39 AM, Paul Jones (ICT)
 wrote:
>
> Dear Sir/Madam
>
> I am writing to you in regards to your application/system “Subversion” that 
> we use in Bridgend County Borough Council
>
> We are going to be moving from Windows 7 to Windows 10 over the next few 
> months and we would like to know:-
>
> 1.   If your application/system is going to be supported and compatible 
> to work with Windows 10 and above ?
>
> 2.   If your application/system is going to be supported and compatible 
> to work with Microsoft Office 2013 and above ?
>
> Can you please reply back to us as soon as possible with any concerns you 
> have before we progress with this rollout ?

If you ask about VisualSVN Server or VisualSVN plug-in, both products
support Windows 10 and Windows Server 2016.

-- 
With best regards,
Pavel Lyalyakin
VisualSVN Team


Re: .svn/wc.db as group writable

2017-02-22 Thread Carlos Adean
Hello,


- Mensagem original -
> De: "Stefan Hett" 
> Para: users@subversion.apache.org
> Enviadas: Segunda-feira, 20 de fevereiro de 2017 12:03:36
> Assunto: Re: .svn/wc.db as group writable
> 
> On 2/20/2017 1:40 PM, Carlos Adean wrote:
> 
> 
> 
> 
> On the specific issue: I'm not getting completely what problem you
> are
> facing. Are you expecting that SVN sets the group for .svn/wc.db
> according to some group you set up by itself so it's readably/usable
> by
> other users than the one who did the repository checkout?
> 
> Regards,
> Stefan 
>
> > So, I have set umask 002 and it works for all files except on
> > .svn/wc.db - maybe I'm wrong and this is not a SVN problem.
> >
> >
> > Again, I know this is unusual situation but is how we need to work.
> >
>
> > > Can you be a bit more specific what exactly you mean by "That's the
> > > file that causes the problem[...]"? Do you get an SVN error when you
> > > perform some operation from different accounts on the working copy
> > > (in that case, please state the exact error message)? Alternatively:
> > > Are you suggesting that after performing an SVN operation the
> > > permissions of .svn/wc.db are changed (to what they were before the
> > > call)?
> 

The default umask is 002 for all users and all of them are in the same group 
'appgroup', which is the group that owns the repositories. The repositories are 
remote and one specific user creates local copies/clones. This user checks out 
a repository in a given directory (e.g. /home/appuser/software/trunk) using his 
own account. If a different user tries to svn update the same local copy of the 
repository, he gets errors of the type:

svn: E155004: Working copy '/home/appuser/software/trunk' locked
svn: E200031: sqlite: attempt to write a readonly database
svn: E200031: sqlite: attempt to write a readonly database
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

my doubt is: if the umask is 002 why are the permissions for the group 
read-only on that file after checkout? 

> > > Also understand that wc.db is an SQLite database. While that should
> > > in principle work with multiple users accessing the same database,
> > > the fact that you are running a very old version of SVN suggests
> > > that you might also use a very ancient version of SQLite (down to
> > > SQLite 3.8.1). It's possible that this is causing some trouble in
> > > your case due to bugs which have long been fixed in SQLite [1].
> > > 
> > > Last but not least, I certainly urge you to ensure that all the users
> > > accessing the working copy use a decent version of SVN (preferably
> > > 1.9.5) and do not share the same working copy under SVN versions
> > > which are too far apart from one another (for instance a client
> > > using SVN 1.8.0 and another one using SVN 1.9.5).
> > > While this is supported by SVN (unless the working copy format
> > > changes), the fact of using different SQLite versions and other
> > > dependencies increases the risk for you to run into bugs/issues
> > > nobody else would expect to run into (which then increases the
> > > workload to troubleshoot such problems).
> > > 
> > > [1] https://www.sqlite.org/changes.html
> 

OK as soon as possible I'm going to update the version as you're suggesting.


Thank you!

--
Carlos

--
Carlos


RCP application Subversion integration

2017-02-22 Thread İbrahim Altınoluk
Hi,
We are trying to provide SVN integration to the RCP application we have 
developed. I added the required subclipse and svnkit libraries as dependencies. 
In the MacOs version, scn checkout process has been successful. But I can not 
say the same for Windows. After svn checkout, the operation fails and I get 
this error: "svn: E200030: Invalid expression" on windows.

What is the root problem with this error and what should we do for fixing that.

System information is as follows;

macOS : 
Sierra 10.12
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

Windows :
Win 7 - 64bit
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

and also i tried with java 1.7 

java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)


RCP Plugin dependencies
Update Site :
https://dl.bintray.com/subclipse/releases/subclipse/4.2.x/

Plugins :
org.tigris.subversion.clientadapter.javahl , version="1.9.5.201701181951"
org.tigris.subversion.subclipse.graph , version="4.2.0.1"
org.tmatesoft.svnkit , version="1.8.12.r10533_v20160129_0158"
org.tigris.subversion.subclipse , version="4.2.2.201612131538"
net.java.dev.jna , version="4.1.0.v06022015_1911"
org.tigris.subversion.clientadapter.svnkit , version="1.8.12.1"



Error is:
svn: E200030: Invalid expression


i couldn’t find information enougth on web.
stack overflow and subversion forum links those opened by me : 
https://stackoverflow.com/questions/42369982/rcp-application-subversion-entegration
 

  -  https://goo.gl/zZ3SeV

Regards
Ibrahim

Re: Is Subversion compatible and supported for Windows 10?

2017-02-22 Thread Daniel Shahaf
Stefan Hett wrote on Wed, Feb 22, 2017 at 12:03:13 +0100:
> On 2/22/2017 9:42 AM, Daniel Shahaf wrote:
> >Stefan Hett wrote on Tue, Feb 21, 2017 at 15:12:25 +0100:
> >>That said: All the current builds for MaxSVN [1] (an experimental SVN
> >>developer focused distribution) are tested on Windows 10 and work fine
> >>there.
> >MaxSVN is maintained by Stefan.  (The svn devs know this, but not
> >everyone on users@ does.)
> Thanks Daniel. Should have mentioned this and re-reading my original answer
> I see that it makes impression I do some self-advertisement here.

> To be clear: The only aim of providing this sample was to provide
> validateable proof for the OP to confirm Subversion in deed is working with
> Windows 10.

Thanks for the clarification, Stefan.  I didn't think you were self-
advertising, either; but as you say, a disclaimer would have helped to
avoid the *impression* of self-advertising, which is just as important.

Cheers,

Daniel

> As Bert already stated other distributions are supporting Windows 10 just
> fine. A list of some of the Windows SVN distributions is also available here
> [1]. TortoiseSVN and VisualSVN are two which we use in our company for
> instance also on Windows 10 machines and they do work just fine.
> 
> [1] https://subversion.apache.org/packages.html#windows


Re: Is Subversion compatible and supported for Windows 10?

2017-02-22 Thread Stefan Hett

On 2/22/2017 9:42 AM, Daniel Shahaf wrote:

Stefan Hett wrote on Tue, Feb 21, 2017 at 15:12:25 +0100:

That said: All the current builds for MaxSVN [1] (an experimental SVN
developer focused distribution) are tested on Windows 10 and work fine
there.

MaxSVN is maintained by Stefan.  (The svn devs know this, but not
everyone on users@ does.)
Thanks Daniel. Should have mentioned this and re-reading my original 
answer I see that it makes impression I do some self-advertisement here.
To be clear: The only aim of providing this sample was to provide 
validateable proof for the OP to confirm Subversion in deed is working 
with Windows 10.


As Bert already stated other distributions are supporting Windows 10 
just fine. A list of some of the Windows SVN distributions is also 
available here [1]. TortoiseSVN and VisualSVN are two which we use in 
our company for instance also on Windows 10 machines and they do work 
just fine.


[1] https://subversion.apache.org/packages.html#windows

--
Regards,
Stefan Hett



Re: RCP application Subversion integration - "E200030: Invalid expression" error

2017-02-22 Thread Stefan Sperling
On Wed, Feb 22, 2017 at 03:20:39AM -0700, ibrahimevam wrote:
> Hi,
> We are trying to provide SVN integration to the RCP application we have
> developed. I added the required subclipse and svnkit libraries as
> dependencies. In the MacOs version, this process has been successful. But I
> can not say the same for Windows. After svn checkout, the operation fails
> and I get this error: "svn: E200030: Invalid expression".

This error code has the following meaning in Apache Subversion:

00200030  SVN_ERR_SQLITE_ERROR "SQlite error"

Perhaps this gives you a clue?

> What is the root problem with this error and what should we do for fixing
> that.

SVNKit is a separate re-implementation of Subversion in Java.
SVNKit strives to be compatible with Apache Subversion which is written in C.
There is occasional coordination around APIs but the project development
communities are very much separated.

You may want to direct your question at SVNKit developers: https://svnkit.com


RE: Is Subversion compatible and supported for Windows 10?

2017-02-22 Thread Bert Huijben


> -Original Message-
> From: Daniel Shahaf [mailto:d...@daniel.shahaf.name]
> Sent: woensdag 22 februari 2017 09:43
> To: Stefan Hett 
> Cc: users@subversion.apache.org
> Subject: Re: Is Subversion compatible and supported for Windows 10?
> 
> Stefan Hett wrote on Tue, Feb 21, 2017 at 15:12:25 +0100:
> > That said: All the current builds for MaxSVN [1] (an experimental SVN
> > developer focused distribution) are tested on Windows 10 and work fine
> > there.
> 
> MaxSVN is maintained by Stefan.  (The svn devs know this, but not
> everyone on users@ does.)

It really depends on the distribution you use for the fine details, but I
can say that for the CollabNet and SlikSVN Subversion binaries and other
products based on SharpSvn (including AnkhSVN), Windows 10 is a fully
supported platform.

Bert

> 
> > [1] http://www.luke1410.de/typo3/index.php?id=97
> >
> > --
> > Regards,
> > Stefan Hett
> >



RE: How to check which branches have specific commit

2017-02-22 Thread Bert Huijben


> -Original Message-
> From: Thijs de Ridder [mailto:thijs.de.rid...@mep-info.com]
> Sent: woensdag 22 februari 2017 10:10
> To: users@subversion.apache.org
> Subject: How to check which branches have specific commit
> 
> We have an svn repository with several branches and tags.
> 
> - trunk/
> - branches/
>   - stable_1
>   - stable_2
>   - etc.
> - tags/
>   - stable_1_release_a
>   - stable_1_release_b
>   - etc.
> 
> We develop our software in trunk (or in a development branch which will be
> reintegrated to trunk). We merge the changes from trunk to a stable
branch.
> Sometimes we discover a bug which has been introduced quite some time
> ago.
> Because the list of branches becomes quite long, I would like to know if
it
> is possible to easily see in which branches / tags the bug is? So if for
> instance the bug was introduced in r50 in trunk and currently we are at
> r100, is there an svn command to see which branches / tags have r50 of
trunk
> merged? So we could easily see which branches are infected by this bug?
> An svn command or via tortoisesvn will help us a lot (although for
> tortoisesvn I should ask this on the tortsoisesvn mailing list)

Subversion currently doesn't track where something was branched to, only
where something was branched from... so there is no feature that can tell
you which of all locations miss a certain 'merge'.

For a specific branch you can see if it still needs specific merges via 'svn
mergeinfo --show-revs=eligible'

[[
$ svn help mergeinfo
mergeinfo: Display merge-related information.
usage: 1. mergeinfo SOURCE[@REV] [TARGET[@REV]]
   2. mergeinfo --show-revs=WHICH SOURCE[@REV] [TARGET[@REV]]

  1. Summarize the history of merging between SOURCE and TARGET. The graph
 shows, from left to right:
   the youngest common ancestor of the branches;
   the latest full merge in either direction, and thus the common base
 that will be used for the next complete merge;
   the repository path and revision number of the tip of each branch.

  2. Print the revision numbers on SOURCE that have been merged to TARGET
 (with --show-revs=merged), or that have not been merged to TARGET
 (with --show-revs=eligible). Print only revisions in which there was
 at least one change in SOURCE.

 If --revision (-r) is provided, filter the displayed information to
 show only that which is associated with the revisions within the
 specified range.  Revision numbers, dates, and the 'HEAD' keyword are
 valid range values.

  SOURCE and TARGET are the source and target branch URLs, respectively.
  (If a WC path is given, the corresponding base URL is used.) The default
  TARGET is the current working directory ('.'). REV specifies the revision
  to be considered the tip of the branch; the default for SOURCE is HEAD,
  and the default for TARGET is HEAD for a URL or BASE for a WC path.

  The depth can be 'empty' or 'infinity'; the default is 'empty'.
]]

With some simple scripting you should be able to run this on all branches
below a specific directory, etc.


Thanks / Met vriendelijke groeten,

Bert 




How to check which branches have specific commit

2017-02-22 Thread Thijs de Ridder
We have an svn repository with several branches and tags. 

- trunk/
- branches/
- stable_1
- stable_2
- etc.
- tags/
- stable_1_release_a
- stable_1_release_b
- etc.

We develop our software in trunk (or in a development branch which will be
reintegrated to trunk). We merge the changes from trunk to a stable branch.
Sometimes we discover a bug which has been introduced quite some time ago.
Because the list of branches becomes quite long, I would like to know if it
is possible to easily see in which branches / tags the bug is? So if for
instance the bug was introduced in r50 in trunk and currently we are at
r100, is there an svn command to see which branches / tags have r50 of trunk
merged? So we could easily see which branches are infected by this bug? 
An svn command or via tortoisesvn will help us a lot (although for
tortoisesvn I should ask this on the tortsoisesvn mailing list)


Best Regards,
Thijs de Ridder




Re: Is Subversion compatible and supported for Windows 10?

2017-02-22 Thread Daniel Shahaf
Stefan Hett wrote on Tue, Feb 21, 2017 at 15:12:25 +0100:
> That said: All the current builds for MaxSVN [1] (an experimental SVN
> developer focused distribution) are tested on Windows 10 and work fine
> there.

MaxSVN is maintained by Stefan.  (The svn devs know this, but not
everyone on users@ does.)

> [1] http://www.luke1410.de/typo3/index.php?id=97
> 
> -- 
> Regards,
> Stefan Hett
>