Re: Subversion 1.6.15 Released

2010-12-19 Thread Nico Kadel-Garcia
On Fri, Dec 17, 2010 at 5:46 PM, David Darj  wrote:
> On 2010-12-17 22:58, Mark Phippard wrote:
>>
>> On Fri, Dec 17, 2010 at 4:42 PM,  wrote:
>>>
>>> Any idea why TSVN 1.6.12 Build 20536 2010/11/24 claims to be using SVN
>>> 1.6.15 before it was released?
>>
>> Subversion 1.6.15 was released several weeks ago.  David is just one
>> person of many that creates a binary version and he is simply
>> announcing availability of his binaries.  TortoiseSVN does not release
>> until we have officially released the source.
>>
>> BTW, David is there really any reason to broadcast your release in
>> these forums?  CollabNet has never done that (and would not want to
>> see us start).  While I think the info is somewhat useful in general
>> it would get ugly if everyone that produced binaries announced it on
>> all the lists every time.  You can announce it on sf.net and users can
>> subscribe to lists or RSS feeds there if they want to be updated on
>> releases.
>>
> I just keep up the work where DJ Heap (and Troy Simpson) left off building
> and announcing these binaries.
> If it's not appropiate to announce it here I will stop.
>
> Anyway announcment on my Win32 build of Subversion will be announced at the
> sf page at https://sourceforge.net/projects/win32svn/ where a RSS feed is
> also available.

*I* appreciate seeing them, but I've made some informal announcements
for the RPMforge updates, especially for RHEL and CentOS users. Since
I tend to pre-test and submit the .spec files for the last few
releases, I may have some self-interest there.


Re: Problem with My SVN Server

2010-12-19 Thread Nico Kadel-Garcia
On Fri, Dec 17, 2010 at 9:30 AM, santhosh kumar
 wrote:
> Hi
>
> This is Santhosh Kumar from Bangalore, I have a chat with Mr. C. Michael
> Pilato regarding a problem with My SVN Server, he suggested me to contact in
> this mail id.
>
> I am expecting a positive output from your group.
>
>
> I have a svn server, I was using it for the past 6-8 months without any
> problem.
>
> The problem is that, I am not able to check out a file from the svn server
> system. But the same file can be checked out from any other linux box.
>
> From the server I wanted to checkout the same file for some script. It is a
> tar.bz2 file
>
> The error is
>
> svn: Can't open file 'flse/.svn/tmp/text-base/pgms.tar.bz2.svn-base':
> Permission denied.
>
> But the same file I am able to do a check out from another linux box. I am
> running the checkout as root user- having all permission.
>
> Request you to assist me with this.
>
> with hopes..
>
> Santhosh Kumar K V

Well, the error message seems pretty clear. You can't open
"'flse/.svn/tmp/text-base/pgms.tar.bz2.svn-base". Check the
permissions, and contents, of the relevant directory and files.

Personally, I'd wonder if you'd accidentally screwed up your working
copy by some other issue, such as running out of space in the midst of
a checkout. And I'd consider making a clean new checkout to a new
workspace, and comparing its contents to your existing working copy.


Re: Problem with My SVN Server

2010-12-19 Thread Johan Corveleyn
On Sun, Dec 19, 2010 at 6:11 PM, Nico Kadel-Garcia  wrote:
> On Fri, Dec 17, 2010 at 9:30 AM, santhosh kumar
>  wrote:
>> Hi
>>
>> This is Santhosh Kumar from Bangalore, I have a chat with Mr. C. Michael
>> Pilato regarding a problem with My SVN Server, he suggested me to contact in
>> this mail id.
>>
>> I am expecting a positive output from your group.
>>
>>
>> I have a svn server, I was using it for the past 6-8 months without any
>> problem.
>>
>> The problem is that, I am not able to check out a file from the svn server
>> system. But the same file can be checked out from any other linux box.
>>
>> From the server I wanted to checkout the same file for some script. It is a
>> tar.bz2 file
>>
>> The error is
>>
>> svn: Can't open file 'flse/.svn/tmp/text-base/pgms.tar.bz2.svn-base':
>> Permission denied.
>>
>> But the same file I am able to do a check out from another linux box. I am
>> running the checkout as root user- having all permission.
>>
>> Request you to assist me with this.
>>
>> with hopes..
>>
>> Santhosh Kumar K V
>
> Well, the error message seems pretty clear. You can't open
> "'flse/.svn/tmp/text-base/pgms.tar.bz2.svn-base". Check the
> permissions, and contents, of the relevant directory and files.
>
> Personally, I'd wonder if you'd accidentally screwed up your working
> copy by some other issue, such as running out of space in the midst of
> a checkout. And I'd consider making a clean new checkout to a new
> workspace, and comparing its contents to your existing working copy.

Also, you may want to check for a "case-conflict" of that particular
file inside your repository. I.e. two files with filenames that only
differ in case (e.g. pgms.tar.bz2 and Pgms.tar.bz2). This can give
problems when checking out on a case-insensitive filesystem (which may
manifest itself with an error such as this one).

Cheers,
-- 
Johan


Lock entire directory

2010-12-19 Thread San Martino
Is it possible to let the user decide whether to lock a whole
directory of the repository?

Thanks


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

2010-12-19 Thread Alain
Thanks Daniel for testing that out on the trunk.

I'll give it a try with the latest release then.


On Sun, Dec 19, 2010 at 3:00 AM, Daniel Shahaf wrote:

> Alain wrote on Thu, Dec 16, 2010 at 17:04:24 +0800:
> > Hello there,
> > Has anyone encountered such a scenario with svnsync, version 1.6.1
> (r37116)
> > on WinXP?
> >
> > svnsync fails to connect to the mirror repository but it still exits with
> > code 0.
> >
> > Here is the test script (sensitive info has been edited) that I ran:
> >
> > svnsync synchronize http://mymirror/svn/myrepo --non-interactive
> > --username= --password=
> > echo exitcode %ERRORLEVEL%
> >
> > And this was the output:
> > svnsync: OPTIONS of 'http://mymirror/svn/myrepo': could not connect
> to
> > server (http://mymirror)
> > exitcode 0
> >
>
> I can't reproduce this with trunk:
>
> daniel3,3:/tmp/svn% $svnsync sync file://$PWD/r2
> svnsync: Unable to connect to a repository at URL '
> http://localhost:8081/t/r1'
> svnsync: Error running context: Connection refused
> zsh: exit 1 $svnsync sync file://$PWD/r2
>
> daniel3,3:/tmp/svn% $svnsync sync file://$PWD/r2 --config-option
> servers:global:http-library=neon
> svnsync: Unable to connect to a repository at URL '
> http://localhost:8081/t/r1'
> svnsync: OPTIONS of 'http://localhost:8081/t/r1': could not connect to
> server (http://localhost:8081)
> zsh: exit 1 $svnsync sync file://$PWD/r2 --config-option
> servers:global:http-library=neon
>
> >
> > I intended to craft some error message if svnsync fails (i.e. based on a
> > non-zero ERRORLEVEL) for whatever reason but the ERRORLEVEL value of zero
> > poses a problem. Any idea/pointer to share?
> >
> > Thanks,
> > Alain
>


Re: Lock entire directory

2010-12-19 Thread Nico Kadel-Garcia
On Sun, Dec 19, 2010 at 8:58 PM, San Martino  wrote:
> Is it possible to let the user decide whether to lock a whole
> directory of the repository?
>
> Thanks

Only if you give your "user" access to your pre-commit configuration:
other means of control, such as .htaccess manipulation for http:// or
https:// based setups, remain open to file:///, svn://, or svn+ssh://
based setups if those are available.


ignored files

2010-12-19 Thread sajan
hi
is there any way I can avoid adding particular folders/files when I
add my code to subversion.In git you can do that using .gitignore
file.

suppose I have this directory structure

mycode
  |tobeignored1
  |tobeincluded
  |---tobeignored2
  |---myimage.jpg
  |---tobeincluded2
  |---mylib
|---lib1.jar


here I want to ignore folders tobeignored1,tobeignored2 and file
myimage.jpg  and add the other folders and files .Can someone tell me
how to do this?

regards
S.


[Question] Svn log show code diff

2010-12-19 Thread Zhang, Wei-Jovi (NSN - CN/Hangzhou)

Hi,
I have a question about svn log command, every time when I use
svn log command, I'm very upset that I need to input svn diff to check
changesets using revision number.
Why not combine svn log and diff command together? Or is there
have any script for this purpose? Like this:



r229 | w3zhang | 2010-12-15 10:48:20 +0800 (Wed, 15 Dec 2010) | 1 line
Changed paths:
   M /trunk/SS_MGWSemiPermCtrl/src/semipermanent_heathcheck.sh

Index: semipermanent_heathcheck.sh
===
--- semipermanent_heathcheck.sh (revision 228)
+++ semipermanent_heathcheck.sh (revision 229)
@@ -75,6 +75,7 @@
 if [ "$RET_STATUS" != "" ]; then
 echo -e "add tdm-tdm crct1:\t$CRCT1-$TSL \tcrct2:\t$CRCT2-$TSL
\t[FAILED]"
 CRCT_CREATE_FAILED="$CRCT1-$TSL $CRCT2-$TSL"
+echo -e "command: fsclish -c \"add tdm semipermanent-connection
tdm-tdm crct1 $CRCT1-$TSL crct2 $CRCT2-$TSL\""
 echo -e "$RET_STATUS"
 break
 else
semipermanent_heathcheck: echo failed command, used for re-executed
later


r227 | w3zhang | 2010-12-14 16:59:23 +0800 (Tue, 14 Dec 2010) | 1 line
Changed paths:
   M /trunk/SS_MGWSemiPermCtrl/src/semper_h01.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_h02.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_leg.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_m01.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_m02.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_mas.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/z00lib.sdl

using script to cleanup TNSDL coding style

Index: semipermanent_heathcheck.sh
===
--- semipermanent_heathcheck.sh (revision 228)
+++ semipermanent_heathcheck.sh (revision 229)
@@ -93,6 +94,7 @@
 if [ "$RET_STATUS" != "" ]; then
 echo -e "delete tdm-tdm crct1:\t$CRCT1-$TSL
\tcrct2:\t$CRCT2-$TSL \t[FAILED]"
 CRCT_DELETE_FAILED="$CRCT_DELETE_FAILED $CRCT1-$TSL
$CRCT2-$TSL"
+echo -e "command: fsclish -c \"delete tdm
semipermanent-connection tdm-tdm crct $CRCT1-$TSL\""
 echo -e "$RET_STATUS"
 else
 echo -e "delete tdm-tdm crct1:\t$CRCT1-$TSL \tcrct2:
\t$CRCT2-$TSL \t[OK]"



Thanks for your time.





Re: ignored files

2010-12-19 Thread Nick
On Sat, 2010-12-18 at 09:39 -0800, sajan wrote:
> hi
> is there any way I can avoid adding particular folders/files when I
> add my code to subversion.In git you can do that using .gitignore
> file.
> 
> suppose I have this directory structure
> 
> mycode
>   |tobeignored1
>   |tobeincluded
>   |---tobeignored2
>   |---myimage.jpg
>   |---tobeincluded2
>   |---mylib
> |---lib1.jar
> 
> 
> here I want to ignore folders tobeignored1,tobeignored2 and file
> myimage.jpg  and add the other folders and files .Can someone tell me
> how to do this?

Not sure if there's a better way to accomplish this, but you can revert
added files after adding them and before committing them.  In your
example:

svn add mycode (this will add the mycode directory + all files inside)
svn revert mycode/tobeignored1 mycode/tobeignored2 mycode/myimage.jpg
svn commit mycode

You can also ignore files so they don't show up in svn operations (like
svn status).  This is accomplished via the svn:ignore property.  See SVN
properties (http://svnbook.red-bean.com/en/1.1/ch07s02.html) for more
info.


Nick




A problem trying to use svn:// and http:// for a same repository at the same time

2010-12-19 Thread David
Good day sirs and madams,

We use http:// for local team. Currently another team at another site
need to visit our repository to cooperate.
They complain about the slow speed of diff, merge and tag. So I want
to turn on svn:// for them while http:// for us.
It seems to be posibble, right?
But when I tried, I got an error saying: There has been a problem
contacting the server...

I read the INSTALLING SUBVERSION A Quick Guide carefully and install
svn from source:

#install Apache:
tar zxf httpd-2.2.14.tar.gz
cd httpd-2.2.14
./configure --prefix=/local/svnroot/apache2 --enable-so --enable-mods-
shared=all --enable-dav=share
--enable-dav-fs --with-ldap --enable-ldap --enable-authnz-ldap --
enable-authn-alias \
--enable-maintainer-mode --with-serf  --enable-ssl --with-ssl --with-
openssl
make
make install

#install Subversion
tar zxf subversion-1.6.15.tar.gz
tar zxf subversion-deps-1.6.15.tar.gz
cd subversion-1.6.15
./configure --prefix=/local/svnroot/subversion --with-apxs=/local/
svnroot/apache2/bin/apxs \
--with-apr=/local/svnroot/apache2 --with-apr-util=/local/svnroot/
apache2 \
--with-ssl --enable-maintainer-mode \
--enable-javahl --with-jdk=/local/jdk1.6.0_17 \
--with-serf=/root/subversion-1.6.15/serf \
PYTHON=/usr/bin/python2.4
make
make install

./svnadmin create --pre-1.5-compatible /local/svnroot/repository/one
#start the ./subversion/bin/svnserve
#configure ./one/conf/svnserve.conf, authz, passwd
svn://172.18.127.148/one
It is ok to view logs via TortoiseSVN-->Show log


But:
./svnadmin create /local/svnroot/repository/test
#configure ./one/conf/svnserve.conf, authz, passwd
svn://172.18.127.148/test
An error happen when i try to view logs via TortoiseSVN-->Show log

The error message is:
There has been a problem contacting the server. Do you want to see the
cached data instead?

please understand that the cached data may be outdated, incomplete or
even misleading due to incomplete history data.

Make this the dafault
Offline now Permanently offline
Cancel


svn, version 1.6.15 (r1038135)
TortoiseSVN 1.6.12, Build 20536 - 32 Bit , 2010/11/24 20:59:01
and tested TortoiseSVN-1.6.6.17493-win32-svn-1.6.6.msi
Window SP3
Red Hat Enterprise Linux 5

Also see my old post at:
http://groups.google.com/group/tortoisesvn/browse_thread/thread/94b8f12b8dcfcb1f/21d8e8f4c9180c51#21d8e8f4c9180c51

Have somebody seen the same error? Any guides?


Thanks in advance,
David