Re: svn cp bug of svn-1.7.0-dev for window7

2011-09-06 Thread Ryan Schmidt
On Sep 5, 2011, at 22:33, yuanpeizhi wrote:

>   This is my svn version info, and my OS info
>   D:\svn_indexer>svn --version
>   svn, version 1.7.0-dev (under development)
>compiled Jul 22 2011, 19:11:38
> 
>   D:\svn_indexer>systeminfo
>   主机名:   YUANPEIZHI-PC
>   OS 名称:  Microsoft Windows 7 家庭普通版
>   OS 版本:  6.1.7600 暂缺 Build 7600
>   OS 制造商:Microsoft Corporation
> 
>when I use svn cp
> 
>   D:\svn_indexer>svn cp http://svn1.***.com/arch/keyword/indexer/trunk  
> http://svn1.***.com/arch/keyword/indexer/branches/20110906_comment
>   svn: E27: Error running context
>   svn: E27: Trying to use an unsupported feature
>   
>   I don't know why! How can I use the 'svn cp' funcion! Thanks!

The same was reported a week ago on the dev list:

http://old.nabble.com/Error-tagging-with-ra_serf-td32356731.html

It says you can work around the problem by setting Subversion to use neon 
instead of serf.




Re: svn cp bug of svn-1.7.0-dev for window7

2011-09-06 Thread Daniel Shahaf
Ryan Schmidt wrote on Tue, Sep 06, 2011 at 02:25:06 -0500:
> On Sep 5, 2011, at 22:33, yuanpeizhi wrote:
> 
> > This is my svn version info, and my OS info
> > D:\svn_indexer>svn --version
> > svn, version 1.7.0-dev (under development)
> >compiled Jul 22 2011, 19:11:38
> > 
> > D:\svn_indexer>systeminfo
> > 主机名:   YUANPEIZHI-PC
> > OS 名称:  Microsoft Windows 7 家庭普通版
> > OS 版本:  6.1.7600 暂缺 Build 7600
> > OS 制造商:Microsoft Corporation
> > 
> >when I use svn cp
> > 
> > D:\svn_indexer>svn cp http://svn1.***.com/arch/keyword/indexer/trunk  
> > http://svn1.***.com/arch/keyword/indexer/branches/20110906_comment
> > svn: E27: Error running context
> > svn: E27: Trying to use an unsupported feature
> > 
> > I don't know why! How can I use the 'svn cp' funcion! Thanks!
> 
> The same was reported a week ago on the dev list:
> 
> http://old.nabble.com/Error-tagging-with-ra_serf-td32356731.html
> 
> It says you can work around the problem by setting Subversion to use neon 
> instead of serf.

The same thread hasn't conclusively identified the source of the bug, so
if you can /reproduce/ the "svn: E27: Trying to use an unsupported
feature" error then please email the dev@ list with the steps to
reproduce it.  Thanks.


is this a bug? 'test merge' success, while 'merge' fail which should not fail

2011-09-06 Thread Jia Baozhen
My operations are simple, but I do not understand the result. Who can
help me? thanks a lot.

my os: win7 32bit
my svn server: version 1.4.6 (r28521)
my svn client: 1.6.16 (SlikSvn/1.6.16) WIN32

and my operations are:
1) create /svn-train-05/trunk & commit
2) add /svn-train-05/trunk/trunk.xml & commit
3) create branch /svn-train-05/branches/01 & commit
4) add /svn-train-05/branches/01/branch.xml & commit
5) add /svn-train-05/trunk/trunk copy.xml & commit
6) merge trunk to branch 01, and commit branch 01, all success!

7) merge branch 01 to trunk:
7.1) test merge, it's OK
svn merge --dry-run svn://10.10.1.1/svn-train-05/trunk
svn://10.10.1.1/svn-train-05/branches/01 .
--- 正在合并版本库 URL 之间的差异到 “.”:
Abranch.xml

7.2) merge, it's a bug?
svn merge svn://10.10.1.1/svn-train-05/trunk
svn://10.10.1.1/svn-train-05/branches/01 .
--- 正在合并版本库 URL 之间的差异到 “.”:
Abranch.xml
--- 正在合并 r1264,经由 r1274,到 “.”:
   C branch.xml
   C trunk copy.xml
冲突概要:
  树冲突:2
--- 正在反向合并 r1274,经由 r1264,到 “.”:
Dtrunk copy.xml



And I run those commands with svn version 1.4.6 (r28521), both 'test
merge' and 'merge' are all OK.
So, my questions are:
1) the result of 'test merge' do not match 'merge'?
2) is the 'tree conflict' with version 1.6.16 a bug?


Re:

2011-09-06 Thread Andy Levy
On Mon, Sep 5, 2011 at 16:21, Indhu Natarajan
 wrote:
>
> I get this when I try to commit files.

Please don't attach images or send HTML-formatted mail. In Windows,
almost any pop-up box like this can be copied to the clipboard by
hitting CTRL-C while it's active, then paste it into a *plain text*
email with CTRL-V.

Plain text is visible to everyone and can be searched/indexed for
reference later.

When you report what you think might be a bug, *always* include the
versions of the various pieces of software in question. For all we
know, you could be using TortoiseSVN 1.3 here, or a nightly build
which is expected to have bugs.


BBox: an open source dropbox-like client based on SVN.

2011-09-06 Thread Carlo Frinolli | nois3lab
[sorry for cross posting and spammish-like email]

 Hello community!  

I would love to inform you all that we're ready to open up and roll out 
something it might interest you.
My company needed a dropbox like software that gives us the ability of sharing 
files, and rolling back to certain revisions.

We *love* open source products and we dug into the server side possibilities: 
Subversion was the best choice.

So we implemented a cross platform super simple subversion client (written in 
C++ using Qt libraries) that gives us this very experience.

It's called BBox (http://bbox.nois3lab.it) and the sources 
(https://github.com/bakulf/bbox) are released under BSD license.

We're using it in production environment since january and the actual version 
you'll find on the website is pretty stable (the Mac OS X client is a bit fat 
but very stable, the GNU/Linux is a .deb created for Ubuntu 10.10+, if you need 
it for kubuntu as of now is better to compile sources).

The reasons I'm writing to this list are a lot:

1. I thought you'd be interested in such product
2. We are willing to understand if there's something we can do to tweak our 
subversion server configuration in order to optimize everything
3. We have a couple of minor issue that are listed in the github repo
4. We *NEED* Windows debugger!

We're an all mac/linux company and none of us use windows in production so it 
would be great to have help in this direction in order to get it better and 
better and ready for Windows environments also.

Of course, if you like the project and you'd love to link BBox on Subversion 
website, we're very happy!
And as for every open source project, use it! And debug it!! :)

---
Carlo Frinolli
[ creative director ]







[www]
http://nois3lab.it

[blog]
http://blog.nois3lab.it

[tweets]
@nois3lab (http://twitter.com/nois3lab)







via Atripalda 12, 00177 Roma (http://bit.ly/n3hq-a12)



[tweets]
@carl0s_ (http://twitter.com/carl0s_)

[skype]
carlo_nois3lab





prima di stampare quest'email, pensaci! | before printing this e-mail think 
about that!
Avviso di riservatezza
Il testo e gli eventuali documenti trasmessi contengono informazioni riservate 
al destinatario indicato. Il contenuto della presente e-mail  confidenziale e 
la sua riservatezza  tutelata legalmente dal D.L 196/03. La lettura, copia o 
altro uso non autorizzato o qualsiasi altra azione derivante dalla conoscenza 
di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto 
questo documento per errore, siete cortesemente pregati di darne immediata 
comunicazione al mittente all'indirizzo dello stesso e di provvedere 
immediatamente alla distruzione del contenuto della presente e-mail. Grazie
Confidentially notice
This e-mail transmission may contain legally privileged and/or confidential 
information. Please do not read it if you are not the intended recipient(S). 
Any use, distribution, reproduction or disclosure by any other person is 
strictly prohibited. If you have received this e-mail in error, please notify 
the sender and destroy the original transmission and its attachments without 
reading or saving it in any manner. Thank you.







Re: Subversion exception

2011-09-06 Thread Andy Levy
On Tue, Sep 6, 2011 at 08:10, Noam Shanny  wrote:
>
> 1.   I got this – hope it helps.
> I’m using TortoiseSVN-1.7.0-RC1-x64-svn-1.7.0-dev on win7 x64 sp1.
>
>
>
>
>
> 2.   It would be better if such dialogs had textual content that can be 
> copied & pasted and searched for in forums, instead of such a dialog that has 
> to be screen-shot.
>

First, TortoiseSVN has its own mailing list where you would report
such a request.

Second, this is ALREADY a built-in feature of Windows which isn't
advertised, so there is no need for such a request to be made. With
the dialog active, hit CTRL-C. The text of the whole thing will be
copied to your clipboard. Then paste it wherever you need it.


Re: Subversion exception

2011-09-06 Thread Hyrum K Wright
On Tue, Sep 6, 2011 at 8:10 AM, Andy Levy  wrote:
> On Tue, Sep 6, 2011 at 08:10, Noam Shanny  wrote:
>>
>> 1.   I got this – hope it helps.
>> I’m using TortoiseSVN-1.7.0-RC1-x64-svn-1.7.0-dev on win7 x64 sp1.
>>
>>
>>
>>
>>
>> 2.   It would be better if such dialogs had textual content that can be 
>> copied & pasted and searched for in forums, instead of such a dialog that 
>> has to be screen-shot.
>>
>
> First, TortoiseSVN has its own mailing list where you would report
> such a request.

Well, the dialog does say to come to users@subversion.apache.org :)

However, such a bug report is much more useful here if distilled down
to a set of reproducible Subversion commands, rather than a single
TortoiseSVN screenshot.  The screenshot you included asked you to
report "as much information as possible about what you were trying to
do," but your bug report doesn't contain anything more than the
screenshot itself.

What action triggered the assertion?
What was the state of your working copy?
What is the expected outcome of your action?

The most useful information would be a reproduction recipe that others
could run to generate the failure.

-Hyrum



-- 

uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com/


Re:

2011-09-06 Thread Hyrum K Wright
On Mon, Sep 5, 2011 at 3:21 PM, Indhu Natarajan <
inatara...@deltadentalid.com> wrote:

> 
>
> I get this when I try to commit files.
>

What kind of files?
What state were the files in?
Where they copied or externals or something else?

We really are serious when we ask for "as much information as possible about
what you were trying to do."  (A self-contained reproduction recipe would be
ideal.)

Thanks for testing!

-Hyrum


-- 

uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com/
<>

Re: Subversion exception

2011-09-06 Thread Andy Levy
On Tue, Sep 6, 2011 at 09:25, Hyrum K Wright  wrote:
> On Tue, Sep 6, 2011 at 8:10 AM, Andy Levy  wrote:
>> On Tue, Sep 6, 2011 at 08:10, Noam Shanny  wrote:
>>>
>>> 1.   I got this – hope it helps.
>>> I’m using TortoiseSVN-1.7.0-RC1-x64-svn-1.7.0-dev on win7 x64 sp1.
>>>
>>>
>>>
>>>
>>>
>>> 2.   It would be better if such dialogs had textual content that can be 
>>> copied & pasted and searched for in forums, instead of such a dialog that 
>>> has to be screen-shot.
>>>
>>
>> First, TortoiseSVN has its own mailing list where you would report
>> such a request.
>
> Well, the dialog does say to come to users@subversion.apache.org :)

I was referring to a request to enhance the dialog itself, but such a
request is moot due tot he copy/paste feature of Windows.


TortoiseSVN Subversion Exception Dialog (was: Re: Subversion exception)

2011-09-06 Thread Stefan Sperling
On Tue, Sep 06, 2011 at 09:10:24AM -0400, Andy Levy wrote:
>> 2. It would be better if such dialogs had textual content that
>> can be copied & pasted and searched for in forums, instead of
>> such a dialog that has to be screen-shot.
> Second, this is ALREADY a built-in feature of Windows which isn't
> advertised, so there is no need for such a request to be made. With
> the dialog active, hit CTRL-C. The text of the whole thing will be
> copied to your clipboard. Then paste it wherever you need it.

(cc'ing Stefan Küng)

It would be great if TortoiseSVN explained this in the dialog text.
It could also ask people not to send screenshots to the list.
Would this be possible?


Setting up Jenkins and Subversion for multiple LDAP domains.

2011-09-06 Thread David Weintraub
This is really part of the same question, but it involves both our
Subversion repository and Jenkins.

We want to use our Windows Active Directory to log into Jenkins and as
our permissioning scheme in Subversion. Subversion uses Apache httpd.

First in Subversion: We have the following setup for the "mfxdomain":


DAV svn
SVNParentPath /opt/cm/svn_repos
AuthType basic
AuthName "MFX Repository"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL
"ldap://mfxdomain.mycompany.com:3268/dc=mycompany,dc=com?sAMAccountName";
NONE
AuthLDAPBindDN "CN=svnuser,OU=Users,DC=mycompany,DC=com"
AuthLDAPBindPassword "swordfish"
Require valid-user


This works great. Anyone in the mfxdomain is able to log in. However,
many of our users are actually in the effdomain, so we need to verify
a user is either in one of the two domains. How do I set this up? Do I
need a new , or do I double the AuthLDAP lines?

In Jenkins, we use the active directory plugin to verify our logins.
Is it possible to specify two Active Directory domains?

And in both, how do I know if someone is in one domain or the other?
Do they need to prefix their login with the domain?

-- 
David Weintraub
qazw...@gmail.com


Betr.: Setting up Jenkins and Subversion for multiple LDAP domains.

2011-09-06 Thread Jan Keirse
 David Weintraub  schreef op 06/09/2011 17:12:41:

> This is really part of the same question, but it involves both our
> Subversion repository and Jenkins.
> 
> We want to use our Windows Active Directory to log into Jenkins and as
> our permissioning scheme in Subversion. Subversion uses Apache httpd.
> 
> First in Subversion: We have the following setup for the "mfxdomain":
> 
> 
> DAV svn
> SVNParentPath /opt/cm/svn_repos
> AuthType basic
> AuthName "MFX Repository"
> AuthBasicProvider ldap
> AuthzLDAPAuthoritative off
> AuthLDAPURL
> "ldap://mfxdomain.mycompany.com:3268/dc=mycompany,dc=com?sAMAccountName";
> NONE
> AuthLDAPBindDN "CN=svnuser,OU=Users,DC=mycompany,DC=com"
> AuthLDAPBindPassword "swordfish"
> Require valid-user
> 
> 
> This works great. Anyone in the mfxdomain is able to log in. However,
> many of our users are actually in the effdomain, so we need to verify
> a user is either in one of the two domains. How do I set this up? Do I
> need a new , or do I double the AuthLDAP lines?
> 
> In Jenkins, we use the active directory plugin to verify our logins.
> Is it possible to specify two Active Directory domains?
> 

>From my apache httpd.conf:
...
LoadModule authn_alias_module modules/mod_authn_alias.so
...
 
  AuthLDAPURL "..." NONE
  AuthLDAPBindDN "..."
  AuthLDAPBindPassword "..."



  AuthLDAPURL "..." NONE
  AuthLDAPBindDN "..."
  AuthLDAPBindPassword "..."



  DAV svn
  SVNParentPath C:/Repositories
  AuthType Basic
  AuthName "My Subversion server"
  AuthBasicProvider newdomain olddomain
  AuthzLDAPAuthoritative off 
  AuthzSVNAccessFile c:/repositories/authz
  AuthzForceUsernameCase lower
  SVNIndexXSLT /svn.xsl
  require valid-user



> And in both, how do I know if someone is in one domain or the other?
> Do they need to prefix their login with the domain?

I have no idea about that.

Kind Regards,

JAN KEIRSE
ICT-DEPARTMENT
Software quality & Systems: Software Engineer

 DISCLAIMER 

http://www.tvh.com/newen2/emaildisclaimer/default.html 

"This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message."



Re: Setting up Jenkins and Subversion for multiple LDAP domains.

2011-09-06 Thread Daniel Shahaf
David Weintraub wrote on Tue, Sep 06, 2011 at 11:12:41 -0400:
> This is really part of the same question, but it involves both our
> Subversion repository and Jenkins.
> 
> We want to use our Windows Active Directory to log into Jenkins and as
> our permissioning scheme in Subversion. Subversion uses Apache httpd.
> 
> First in Subversion: We have the following setup for the "mfxdomain":
> 
> 
> DAV svn
> SVNParentPath /opt/cm/svn_repos
> AuthType basic
> AuthName "MFX Repository"
> AuthBasicProvider ldap
> AuthzLDAPAuthoritative off
> AuthLDAPURL
> "ldap://mfxdomain.mycompany.com:3268/dc=mycompany,dc=com?sAMAccountName";
> NONE
> AuthLDAPBindDN "CN=svnuser,OU=Users,DC=mycompany,DC=com"
> AuthLDAPBindPassword "swordfish"
> Require valid-user
> 
> 
> This works great. Anyone in the mfxdomain is able to log in. However,
> many of our users are actually in the effdomain, so we need to verify
> a user is either in one of the two domains. How do I set this up? Do I
> need a new , or do I double the AuthLDAP lines?
> 

AIUI httpd 2.3.x is required in order to be able to say 'Either 
LDAP group or  LDAP group' in authz settings.  (We ran into this
at ASF infra).  With 2.2 you might have to use separate s.

> And in both, how do I know if someone is in one domain or the other?
> Do they need to prefix their login with the domain?
> 

Why do you need to know that?

> -- 
> David Weintraub
> qazw...@gmail.com


How to migrate just part of a repo to another server

2011-09-06 Thread Todd D. Taft
I'm trying to move just a few directory trees from a subversion repo to 
another server.


On the old server, I run svndump /path/to/old/repo > /tmp/svn-dumpfile
I've copied the svn-dumpfile to the new server.
Now, when I try to run cat svn-dumpfile | svndumpfilter include 
/htdocs/CCDB | svnadmin load /path/to/new/repo I get an error from 
svndumpfilter:

svndumpfilter: Invalid copy source path '/CCDB'
and I don't see anything in my new repo.
What am I doing wrong?

--
Todd D. Taft
UNC Computational Systems Biology
todd_t...@unc.edu



Re: How to migrate just part of a repo to another server

2011-09-06 Thread Stefan Sperling
On Tue, Sep 06, 2011 at 02:30:08PM -0400, Todd D. Taft wrote:
> I'm trying to move just a few directory trees from a subversion repo
> to another server.
> 
> On the old server, I run svndump /path/to/old/repo > /tmp/svn-dumpfile
> I've copied the svn-dumpfile to the new server.
> Now, when I try to run cat svn-dumpfile | svndumpfilter include
> /htdocs/CCDB | svnadmin load /path/to/new/repo I get an error from
> svndumpfilter:
> svndumpfilter: Invalid copy source path '/CCDB'
> and I don't see anything in my new repo.
> What am I doing wrong?

Somewhere in history the path you include was copied from /CCDB.
You need to include copy history, i.e. you need add /CCDB to your
include list.

For complex cases, there is a helper script which analyses copy history
and lists all paths which need to be included.
See 
https://svn.apache.org/repos/asf/subversion/trunk/tools/server-side/svnpredumpfilter.py


Re: How to migrate just part of a repo to another server

2011-09-06 Thread Les Mikesell
On Tue, Sep 6, 2011 at 1:41 PM, Stefan Sperling  wrote:
>> Now, when I try to run cat svn-dumpfile | svndumpfilter include
>> /htdocs/CCDB | svnadmin load /path/to/new/repo I get an error from
>> svndumpfilter:
>> svndumpfilter: Invalid copy source path '/CCDB'

> Somewhere in history the path you include was copied from /CCDB.
> You need to include copy history, i.e. you need add /CCDB to your
> include list.

I know I have some projects that were imported or loaded from a cvs
conversion into the wrong place, then immediately moved.  I haven't
tried to separate these back out, but if I ever do, is there  a way to
clean up the path?   Would it work to start the dump at the revision
of the move to the current path (without --incremental) if I'm willing
to lose the older history that might have been in a cvs conversion?

-- 
  Les Mikesell
lesmikes...@gmail.com


Re: How to migrate just part of a repo to another server

2011-09-06 Thread Stefan Sperling
On Tue, Sep 06, 2011 at 02:44:41PM -0500, Les Mikesell wrote:
> On Tue, Sep 6, 2011 at 1:41 PM, Stefan Sperling  wrote:
> >> Now, when I try to run cat svn-dumpfile | svndumpfilter include
> >> /htdocs/CCDB | svnadmin load /path/to/new/repo I get an error from
> >> svndumpfilter:
> >> svndumpfilter: Invalid copy source path '/CCDB'
> 
> > Somewhere in history the path you include was copied from /CCDB.
> > You need to include copy history, i.e. you need add /CCDB to your
> > include list.
> 
> I know I have some projects that were imported or loaded from a cvs
> conversion into the wrong place, then immediately moved.  I haven't
> tried to separate these back out, but if I ever do, is there  a way to
> clean up the path?   Would it work to start the dump at the revision
> of the move to the current path (without --incremental) if I'm willing
> to lose the older history that might have been in a cvs conversion?

You'd have to edit the dump file to transform the copy event into a plain
addition, i.e. fake a different history. That is not what 'svnadmin
dump' and 'svndumpfilter' have been designed to do.
I don't know of any tools that automate this.


Re: Setting up Jenkins and Subversion for multiple LDAP domains.

2011-09-06 Thread David Weintraub
On Tue, Sep 6, 2011 at 11:50 AM, Daniel Shahaf  wrote:
>> And in both, how do I know if someone is in one domain or the other?
>> Do they need to prefix their login with the domain?
>>
>
> Why do you need to know that?

There might be two different users with the same id in each domain.
For example, there could be a jsmith in the mfxdomain and a jsmith in
the effhdomain. If jsmith from effhdomian signed in, how would it know
whether it was jsmith of the effhdomain that signed in, or jsmith of
the mfxdomain that signed in with an incorrect password?

This issue has been solved now because I've decided that anyone who
needs any of the CM tools needs to be in the mfxdomain. The developers
in the other domain will now have accounts in the mfxdomain and their
desktops will be moved to the mfxdomain. The two domains were suppose
to have been merged a couple of years ago, but no one pushed it. Now,
it's being pushed.

Thank you for your help.


-- 
David Weintraub
qazw...@gmail.com


Re: TortoiseSVN Subversion Exception Dialog

2011-09-06 Thread Stefan Küng

On 06.09.2011 15:57, Stefan Sperling wrote:

On Tue, Sep 06, 2011 at 09:10:24AM -0400, Andy Levy wrote:

2. It would be better if such dialogs had textual content that
can be copied&  pasted and searched for in forums, instead of
such a dialog that has to be screen-shot.

Second, this is ALREADY a built-in feature of Windows which isn't
advertised, so there is no need for such a request to be made. With
the dialog active, hit CTRL-C. The text of the whole thing will be
copied to your clipboard. Then paste it wherever you need it.


(cc'ing Stefan Küng)

It would be great if TortoiseSVN explained this in the dialog text.
It could also ask people not to send screenshots to the list.
Would this be possible?


Added hint about Ctrl-C in r21949.
But the text is already quite long, so I haven't mentioned anything 
about screenshots on the list - I think that should be best mentioned on 
the web page where the mailing lists are mentioned.


Stefan

--
   ___
  oo  // \\  "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/>The coolest Interface to (Sub)Version Control
   /_/   \_\ http://tortoisesvn.net