Subversion

2010-03-04 Thread Leszek Szarlej
Hi

I have svn in version 1.6.6 (r40053) running with Apache. I have many
segmentation faults. The APR versions are as follows:

SVN:
libapr-1.so.0.3.8
libaprutil-1.so.0.3.9

APACHE:
libapr-1.so.0.3.3
libaprutil-1.so.0.3.4

If in both of cases the versions are 1.3.x it still can be the reason of
segfaults?

Thanks Leszek


Re: Subversion

2010-03-04 Thread Stefan Sperling
On Thu, Mar 04, 2010 at 11:03:28AM +0100, Leszek Szarlej wrote:
> Hi
> 
> I have svn in version 1.6.6 (r40053) running with Apache. I have many
> segmentation faults. The APR versions are as follows:
> 
> SVN:
> libapr-1.so.0.3.8
> libaprutil-1.so.0.3.9
> 
> APACHE:
> libapr-1.so.0.3.3
> libaprutil-1.so.0.3.4

Those numbers don't say anything about which version of APR
is inside the libraries. The numbers are for use by the dynamic
linker only and don't correspond to version numbers of software.

> If in both of cases the versions are 1.3.x it still can be the reason of
> segfaults?

Yes. Link both to the *same* APR libraries.

Stefan


SVN error: (501 Not Implemented) while creating dir

2010-03-04 Thread Hussein Baghdadi
Hey, 
I'm trying to create a branches directory for our project: 
svn mkdir -m "Creating branches 
directory" http://local.domain/OoProject/branches 
But I got this error: 
svn: Server sent unexpected return value (501 Not Implemented) in response to 
OPTIONS request for 'http://local.domain/OoProject' 
I googled, it is a firewall issue. 
local.domain isn't guarded via a firewall. 
I turned the firewall off on my Mac client, but I got the same error. 
Any ideas? 
Thanks for help and time. 

Deep into that darkness peering, long I stood there, wondering, fearing, 
doubting, dreaming dreams no mortal ever dared to dream before.  -- Edgar Allan 
Poe 


  

svn load error

2010-03-04 Thread sandy k
Hi,
I have a svn dump which is 3 months old and 20G in size. Now i wanted to 
restore / load this dump to new created svn repository But getting this error 
:- 

1. <<< Started new transaction, based on original revision 24031
2.  * adding path : flash/trunk/flash/modules/storyboard/courier 
... done.
3.  * adding path : 
flash/trunk/flash/modules/storyboard/courier/courier.fla ... done.
4.  * adding path : 
flash/trunk/flash/modules/storyboard/courier/courier_exclude.xml ... done.
5.  * adding path : 
flash/trunk/flash/modules/storyboard/courier/includes ... done.
6.  * adding path : 
flash/trunk/flash/modules/storyboard/courier/includes/main.as ... done.
7.  
8. --- Committed new rev 24065 (loaded from original rev 24031) >>>
9.  
10. <<< Started new transaction, based on original revision 24032
11. svnadmin: Checksum mismatch, file '/flash/trunk/bin/editor.swf':
12.expected:  931dc2612461f4c5fd63a421f85000cb
13.  actual:  54a6eb47d1636c4ab627dc5e5eccc533How can i resolve 
this ?

Thanks,
Sandeep



  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Re: Subversion

2010-03-04 Thread Stefan Sperling
On Thu, Mar 04, 2010 at 11:51:58AM +0100, Leszek Szarlej wrote:
> Thank you for your message
> 
> >Yes. Link both to the *same* APR libraries.
> Could you please specify what do you mean by "link". Is it enough to change
> symbolic links ? without recompiling from sources?

You need to recompile to be 100% sure.

Stefan


Re: SVN error: (501 Not Implemented) while creating dir

2010-03-04 Thread Lieven Govaerts
On Thu, Mar 4, 2010 at 12:33 PM, Hussein Baghdadi wrote:

> Hey,
> I'm trying to create a branches directory for our project:
> svn mkdir -m "Creating branches directory"
> http://local.domain/OoProject/branches

But I got this error:

svn: Server sent unexpected return value (501 Not Implemented) in response
> to OPTIONS request for 'http://local.domain/OoProject'

[..]

Wild guess, is that really your project's repository location? Typically
(but not always) apache is configured to host all repositories under /svn or
/repos, which would make the url
http://local.domain/svn/OoProject/branches

Lieven


SVN and bug reporting tools

2010-03-04 Thread Oliver Marshall
Hi,

We are looking at a trac/svn setup here, but before we commit ourselves does 
anyone know of any other bug reporting tools that can integrate with SVN? 
Certainly Trac can be a littletechnical in places and something that's 
easier for end users to deal with would be good.

Olly

[cid:personal229.jpg]

[cid:g2support_2004823.png]

Network Support
Online Backups
Server Management

Tel: 0845 307 3443
Email: oliver.marsh...@g2support.com
Web: http://www.g2support.com
Twitter: g2support
Newsletter: http://www.g2support.com/newsletter
Mail: 2nd Floor, 130a Western Rd, Brighton, Sussex, BN12LA

G2 Support LLP is registered at Mill House, 103 Holmes Avenue, HOVE
BN3 7LE. Our registered company number is OC316341.

<><>

RE: "svn log" via svnserve is letting me see things it shouldn't, but "svn ls" works as I expect

2010-03-04 Thread Jon Foster
Hi,

Stefan Sperling wrote:
> On Wed, Mar 03, 2010 at 03:01:22PM -0600, Reid Priedhorsky wrote:
> > In particular, log messages to files not in
> > /cyclingproject/public should not be available.
>
> Log message are not per file. They are per revision.
> They aren't tied to any particular path.
> Off-hand I cannot think of a way to prevent them from being seen.

But the documentation for how authz works says:

http://svn.apache.org/viewvc/subversion/trunk/notes/authz_policy.txt?ann
otate=859714

> ==
> WHAT USERS SHOULD EXPECT FROM PATH-BASED AUTHZ
> ==
> 
[...]
> 2. LOG MESSAGES
>
> Log information may be restricted, based on readability of
> changed-paths.
>   
> * If the target of 'svn log' wanders into unreadable territory,
>   then log output will simply stop at the last readable revision.
>   If the log is tracing backwards through time, as the plain
>   "svn log" command does, the target will appear to be added
>   (without history) in that revision.
>   
> * If a revision returned by 'svn log' contains a mixture of
>   readable/unreadable changed-paths, then the log message is
>   suppressed, along with the unreadable changed-paths.  Only
>   the revision number, author, date, and readable paths are
>   displayed.
>   
> * If a revision returned by 'svn log' contains only unreadable
>   changed-paths, then only the revision number is displayed.

Is this documentation wrong?  Or doesn't it apply for some reason?

Kind regards,

Jon


**
This email and its attachments may be confidential and are intended solely for 
the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those 
of Cabot Communications Ltd.

If you are not the intended recipient of this email and its attachments, you 
must take no action based upon them, nor must you copy or show them to anyone.

Cabot Communications Limited
Verona House, Filwood Road, Bristol BS16 3RY, UK
+44 (0) 1179584232

Co. Registered in England number 02817269

Please contact the sender if you believe you have received this email in error.

**


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


Re: SVN and bug reporting tools

2010-03-04 Thread Andy Levy
On Thu, Mar 4, 2010 at 08:13, Oliver Marshall
 wrote:
> We are looking at a trac/svn setup here, but before we commit ourselves does 
> anyone know of any other bug reporting tools that can integrate with SVN? 
> Certainly Trac can be a littletechnical in places and something that's 
> easier for end users to deal with would be good.

Jira also integrates well with Subversion.

https://studio.plugins.atlassian.com/wiki/display/SVN/Subversion+JIRA+plugin

http://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Subversion


Could not un- and re- link ~/.subversion/config

2010-03-04 Thread Alan Brogan
Hello the list,

I just lost a few hours trying to do this:

$ cd ~/.subversion
$ rm -f config
$ ln -s /path/to/another/config .

The link command kept failing, because "File exists"
   WTF ?

Turns out I cannot remove ~/.subversion/* in one command, as some other process 
is protecting them from deletion (but not from editing).

Eventually I did figure out the workaround, which is simply to join them into 
one command
$ rm -f config && ln -s /path/to/another/config .

But it was a £*({ing annoying few hours between problem arising and finding 
solution (and even more annoying that the solution was so simple)

I can find no documentation of this feature at 
http://svnbook.red-bean.com/en/1.5/
http://subversion.apache.org/faq.html
http://mail-archives.apache.org/mod_mbox/subversion-users/
so, I would like to ask:

a) where is it documented ?
b) can it be extended to other user-configurable directories ?

Thank you for reading this far, and any writing you might be able to do.

-- 
Alan


Re: "svn log" via svnserve is letting me see things it shouldn't, but "svn ls" works as I expect

2010-03-04 Thread Stefan Sperling
On Thu, Mar 04, 2010 at 01:14:19PM -, Jon Foster wrote:
> Hi,
> 
> Stefan Sperling wrote:
> > On Wed, Mar 03, 2010 at 03:01:22PM -0600, Reid Priedhorsky wrote:
> > > In particular, log messages to files not in
> > > /cyclingproject/public should not be available.
> >
> > Log message are not per file. They are per revision.
> > They aren't tied to any particular path.
> > Off-hand I cannot think of a way to prevent them from being seen.
> 
> But the documentation for how authz works says:
> 
> http://svn.apache.org/viewvc/subversion/trunk/notes/authz_policy.txt?annotate=859714

Those are developer notes, not documentation.
I'm not sure if this was ever implemented, but I'm not an expert on authz.

Stefan


Re: SVN and bug reporting tools

2010-03-04 Thread Karl Heinz Marbaise

Hi Oliver,


We are looking at a trac/svn setup here, but before we commit ourselves 
does anyone know of any other bug reporting tools that can integrate 
with SVN? Certainly Trac can be a littletechnical in places and 
something that's easier for end users to deal with would be good.
Take a look at Redmine (www.redmine.org)...will integrate very well with 
SVN supports multiple projects into a single installation etc.


Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de


Re: Programming a Watcher File

2010-03-04 Thread Andrey Repin
Greetings, David Weintraub!

> On Tue, Mar 2, 2010 at 11:39 PM, Andrey Repin  wrote:
>> Sorry, my head is a bit crippled for now, and your post contains too much
>> cross-references to be understandable in my current state.
>> Could you please put it in simple terms, how you see your potential system
>> works?

> We have both development teams in India and in New York. When the
> Indian development team makes changes, the New York QA team needs to
> be notified, so they know what to test. When the New York development
> team checks something in, the Indian QA team needs to be notified.
> This will currently be for a single project, so I have to specify
> those files in that project that need to be watched.

> I decided to make this hook script a bit more general than for this
> specific circumstance. What if there are separate teams for each
> branch that need to be notified? What if other teams want their files
> to be watched?

Having generalized hook script is always a nice option, if you ask me.
Given sane configuration scheme, you never know, how unexpectedly nice setups
your users would be able to build.

>> If having a custom (and client-customizable) configuration is all you ever
>> want, there's a hint: hook script can access repository as easy as any other
>> local file. Just do "svn cat" on required file and parse it's content as
>> normal.
>>
>> However, be very wary of access rights on the mentioned configuration file.

> I am using "svnlook cat" which is a bit faster

Right, and thanks for a note.

> since I don't have to go through the Subversion server. I will be setting
> the rights on this configuration file, so only the managers can modify it.
> Plus, I'll get an email whenever the configuration file itself gets modified.

> Originally, I was thinking about using properties to set the watch. If
> I want a particular directory tree watched, I could put a sol:watch
> property on that directory, and anytime a file in that directory tree
> gets modified, I'll email the users.

I didn't though about properties, but I clearly see a perfomance issue you've
mentioned below. You have to enumerate whole tree back up to the repository
root in attempt to locate the properties, and you can't just stop in the
middle after first such property found.

> However, how do you find all of these properties? If I check in a file
> svn://host/project/dir/dir2/dir3/file, I'd have to check all the
> parent directories for the property (that's five different directories
> to check, plus the file itself). And, I'd have to do that for each
> file changed. Plus, how do developers find all of their watches?
> Therefore, I decided it would be better to have a single configuration
> file for the watches.

> Another possibility is to have a directory where users can put their
> own watch definitions. I have an access control script that can easily
> be setup so that barry.cfg can only be changed by barry and david.cfg
> can only be changed by david. But, that means getting a list of these
> watch files (svnlook tree), and then checking opening up each one to
> construct my watch list. That might take too long.

You're missing one option - put a post-commit hook on this directory, which
would compile single configuration file from all user files.
I.e.

\watch\watchlist (global options)
\watch\watchlist.d\.list
\watch\watchlist.d\.list

Every time your post-commit (or pre-commit, if you decide) hook spot a write
operation to the \watch\watchlist.d, it run compilation process, and notify
repository administrators of the results.

You can store compiled config out of repository, or inside it - as you decide.
I'd go with off-site approach, as it could be reconstructed at any time,
whenever the repository moves.


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 04.03.2010, <17:27>

Sorry for my terrible english...



Re: Could not un- and re- link ~/.subversion/config

2010-03-04 Thread Tyler Roscoe
On Thu, Mar 04, 2010 at 01:13:49PM +, Alan Brogan wrote:
> I just lost a few hours trying to do this:
> 
> $ cd ~/.subversion
> $ rm -f config
> $ ln -s /path/to/another/config .
> 
> The link command kept failing, because "File exists"
>WTF ?
>
> Turns out I cannot remove ~/.subversion/* in one command, as some other 
> process is protecting them from deletion (but not from editing).
> 
> Eventually I did figure out the workaround, which is simply to join them into 
> one command
> $ rm -f config && ln -s /path/to/another/config .

What OS is this? Was svn running at the time?

Sounds like an OS issue. AFAIK Subversion has no special logic to
protect its config files.

tyler


Re: Could not un- and re- link ~/.subversion/config

2010-03-04 Thread Erik Andersson
try: "rm -Rf config"

Cheers / Erik

On Thu, Mar 4, 2010 at 2:13 PM, Alan Brogan  wrote:

> Hello the list,
>
> I just lost a few hours trying to do this:
>
> $ cd ~/.subversion
> $ rm -f config
> $ ln -s /path/to/another/config .
>
> The link command kept failing, because "File exists"
>   WTF ?
>
> Turns out I cannot remove ~/.subversion/* in one command, as some other
> process is protecting them from deletion (but not from editing).
>
> Eventually I did figure out the workaround, which is simply to join them
> into one command
> $ rm -f config && ln -s /path/to/another/config .
>
> But it was a £*({ing annoying few hours between problem arising and finding
> solution (and even more annoying that the solution was so simple)
>
> I can find no documentation of this feature at
>http://svnbook.red-bean.com/en/1.5/
>http://subversion.apache.org/faq.html
>http://mail-archives.apache.org/mod_mbox/subversion-users/
> so, I would like to ask:
>
> a) where is it documented ?
> b) can it be extended to other user-configurable directories ?
>
> Thank you for reading this far, and any writing you might be able to do.
>
> --
> Alan
>


Re: "svn log" via svnserve is letting me see things it shouldn't, but "svn ls" works as I expect

2010-03-04 Thread Reid Priedhorsky

On 03/04/10 07:14, Jon Foster wrote:

Hi,

Stefan Sperling wrote:

On Wed, Mar 03, 2010 at 03:01:22PM -0600, Reid Priedhorsky wrote:

In particular, log messages to files not in
/cyclingproject/public should not be available.

Log message are not per file. They are per revision.
They aren't tied to any particular path.
Off-hand I cannot think of a way to prevent them from being seen.


But the documentation for how authz works says:

http://svn.apache.org/viewvc/subversion/trunk/notes/authz_policy.txt?ann
otate=859714


==
WHAT USERS SHOULD EXPECT FROM PATH-BASED AUTHZ
==


[...]

2. LOG MESSAGES

Log information may be restricted, based on readability of
changed-paths.
  
* If the target of 'svn log' wanders into unreadable territory,

  then log output will simply stop at the last readable revision.
  If the log is tracing backwards through time, as the plain
  "svn log" command does, the target will appear to be added
  (without history) in that revision.
  
* If a revision returned by 'svn log' contains a mixture of

  readable/unreadable changed-paths, then the log message is
  suppressed, along with the unreadable changed-paths.  Only
  the revision number, author, date, and readable paths are
  displayed.
  
* If a revision returned by 'svn log' contains only unreadable

  changed-paths, then only the revision number is displayed.


Is this documentation wrong?  Or doesn't it apply for some reason?


That's my take. If I can't "svn ls" it, why can I "svn log" it?

Note that the anomaly only appears at the repository root - one 
directory down, neither "svn ls" or "svn log" gives any results, which 
is what I'd expect.


In this case, I wrote a post-commit hook that cleared non-public log 
messages when they were mirrored with svnsync. But that seems like a 
hack, and if we were not mirroring, it seems we'd be out of luck.


Reid


RE: Perl can't find my libraries when run via the subversion post-commit script

2010-03-04 Thread Craig Thayer
David,

Thank you for your reply.

Yes, I have tested the script on the Subversion server and it runs just fine.  
And I agree it is obvious that Perl is including the directories to my 
libraries (so the use lib statements are working as designed as you stated).  
However, it is Perl that is complaining that it can't find my libraries even 
though they are clearly in the @INC path.  I have never run into this situation 
before and I believe it has to do with the fact that the Subversion hook is 
running with no environment defined, but why it makes Perl not able to find my 
libs ONLY when it runs as a Subversion hook I haven't a clue.

I have temporarily resolved the problem by moving my libraries to the 
/usr/lib/perl5/site_perl path (which I didn't want to do) which is predefined 
by my Perl installation in @INC.  The script now runs via the Subversion hook 
and finds my libraries just fine.  I would, however, like to understand what 
causes Perl to not recognize my added paths to @INC when it runs as a 
Subversion hook.

Craig

-Original Message-
From: David Weintraub [mailto:qazw...@gmail.com] 
Sent: Wednesday, March 03, 2010 9:57 PM
To: Craig Thayer
Cc: users@subversion.apache.org
Subject: Re: Perl can't find my libraries when run via the subversion 
post-commit script

On Wed, Mar 3, 2010 at 3:15 PM, Craig Thayer  wrote:
> I am at a loss as to why my perl script cannot find my libraries when
> invoked by the subversion post-commit script.  My script runs just fine when
> invoked manually in a terminal window.  I'm aware that the subversion
> post-commit script runs with no environment defined, but the error I'm
> getting (below) makes no sense since the module perl claims it can't find
> (Log.pm) is, in fact, in the '/root/perl5/lib' directory which is clearly
> listed in the @INC array.

Have you tried logging into the server as the user that runs
Subversion and tried running the Perl script as that user (and not as
part of the hook)? You might find the error when you try to execute as
the user that is running the Subversion server.

It is obvious that the Perl program is including the directories you
want to include in the @INC array, so the problem is not in the use
lib statements.

I wonder if there is a permission issue going on -- especially since
these are not standard Perl directories.

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


Re: Could not un- and re- link ~/.subversion/config

2010-03-04 Thread Alexey Neyman
"File exists" error means that the file is re-created after you delete it 
but before 'ln'. The fact that you were able to achieve re-linking by 
combining two commands into one (rm ... && ln ...) suggests that there is 
something invoking 'svn' periodically (cron job?).

As far as I know, Subversion does not have any special logic for config 
file protection. However, it does re-create this file with default 
settings if it does not find one when 'svn' command is invoked.

Regards,
Alexey.

On Thursday 04 March 2010 05:13:49 am Alan Brogan wrote:
> Hello the list,
>
> I just lost a few hours trying to do this:
>
> $ cd ~/.subversion
> $ rm -f config
> $ ln -s /path/to/another/config .
>
> The link command kept failing, because "File exists"
>WTF ?
>
> Turns out I cannot remove ~/.subversion/* in one command, as some other
> process is protecting them from deletion (but not from editing).
>
> Eventually I did figure out the workaround, which is simply to join
> them into one command $ rm -f config && ln -s /path/to/another/config .
>
> But it was a £*({ing annoying few hours between problem arising and
> finding solution (and even more annoying that the solution was so
> simple)
>
> I can find no documentation of this feature at
> http://svnbook.red-bean.com/en/1.5/
> http://subversion.apache.org/faq.html
> http://mail-archives.apache.org/mod_mbox/subversion-users/
> so, I would like to ask:
>
> a) where is it documented ?
> b) can it be extended to other user-configurable directories ?
>
> Thank you for reading this far, and any writing you might be able to
> do.


Re: Perl can't find my libraries when run via the subversion post-commit script

2010-03-04 Thread Chris Shelton
Craig,

On Thu, Mar 4, 2010 at 12:20 PM, Craig Thayer  wrote:

> Yes, I have tested the script on the Subversion server and it runs just fine. 
>  And I agree it is obvious that Perl is including the directories to my 
> libraries (so the use lib statements are working as designed as you stated).  
> However, it is Perl that is complaining that it can't find my libraries even 
> though they are clearly in the @INC path.  I have never run into this 
> situation before and I believe it has to do with the fact that the Subversion 
> hook is running with no environment defined, but why it makes Perl not able 
> to find my libs ONLY when it runs as a Subversion hook I haven't a clue.

Did you run the script "as the user that runs Subversion" as David
suggested?  This user is generally apache, nobody, www-data or such on
unix type systems.  The /root directory is typically setup with root
user only access, which would prevent a script running as a non-root
user from being able to access files in /root/perl5/lib.

chris


Re: Perl can't find my libraries when run via the subversion post-commit script

2010-03-04 Thread David Weintraub
Did you log in as the user that runs the Subversion server (usually
the Apache user "apache" or "wwwrun" or some other user depending upon
the installation) and try your script? That way, you can verify that
this is not a permission issue.

I also wonder if you might be causing issues with putting the "use
lib" inside a BEGIN statement. This isn't necessary with "use lib" as
the manpage on the pragma states that these are ALMOST equivalent:

use lib /foo/bar;
BEGIN {unshift @INC, /foo/bar;}

The differences are subtle. The "use lib" won't execute if /foo/bar
doesn't exist. It'l also automatically include in the @INC array
before /foo/bar, the  /foo/$archname/bar, /foo/$version/bar and
/foo/$archname/$version/bar directories (if they exist).

See .

On Thu, Mar 4, 2010 at 12:20 PM, Craig Thayer  wrote:
> David,
>
> Thank you for your reply.
>
> Yes, I have tested the script on the Subversion server and it runs just fine. 
>  And I agree it is obvious that Perl is including the directories to my 
> libraries (so the use lib statements are working as designed as you stated).  
> However, it is Perl that is complaining that it can't find my libraries even 
> though they are clearly in the @INC path.  I have never run into this 
> situation before and I believe it has to do with the fact that the Subversion 
> hook is running with no environment defined, but why it makes Perl not able 
> to find my libs ONLY when it runs as a Subversion hook I haven't a clue.
>
> I have temporarily resolved the problem by moving my libraries to the 
> /usr/lib/perl5/site_perl path (which I didn't want to do) which is predefined 
> by my Perl installation in @INC.  The script now runs via the Subversion hook 
> and finds my libraries just fine.  I would, however, like to understand what 
> causes Perl to not recognize my added paths to @INC when it runs as a 
> Subversion hook.
>
> Craig
>
> -Original Message-
> From: David Weintraub [mailto:qazw...@gmail.com]
> Sent: Wednesday, March 03, 2010 9:57 PM
> To: Craig Thayer
> Cc: users@subversion.apache.org
> Subject: Re: Perl can't find my libraries when run via the subversion 
> post-commit script
>
> On Wed, Mar 3, 2010 at 3:15 PM, Craig Thayer  wrote:
>> I am at a loss as to why my perl script cannot find my libraries when
>> invoked by the subversion post-commit script.  My script runs just fine when
>> invoked manually in a terminal window.  I'm aware that the subversion
>> post-commit script runs with no environment defined, but the error I'm
>> getting (below) makes no sense since the module perl claims it can't find
>> (Log.pm) is, in fact, in the '/root/perl5/lib' directory which is clearly
>> listed in the @INC array.
>
> Have you tried logging into the server as the user that runs
> Subversion and tried running the Perl script as that user (and not as
> part of the hook)? You might find the error when you try to execute as
> the user that is running the Subversion server.
>
> It is obvious that the Perl program is including the directories you
> want to include in the @INC array, so the problem is not in the use
> lib statements.
>
> I wonder if there is a permission issue going on -- especially since
> these are not standard Perl directories.
>
> --
> David Weintraub
> qazw...@gmail.com
>



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


Re: Perl can't find my libraries when run via the subversion post-commit script

2010-03-04 Thread Kris Deugau

Craig Thayer wrote:

David,

Thank you for your reply.

Yes, I have tested the script on the Subversion server and it runs just fine.


As root, or as the user the repo is accessed as?

/root isn't usually accessible by any user *other* than root in my 
experience, and most of the documentation assumes that svnserve or 
Apache (and therefore, all of your hook scripts) are running as one of:

-> dedicated svn user
-> Apache runtime user
-> various non-root users if using svn+ssh with system users


 And I agree it is obvious that Perl is including the directories to my 
libraries (so the use lib statements are working as designed as you stated).  
However, it is Perl that is complaining that it can't find my libraries even 
though they are clearly in the @INC path.  I have never run into this situation 
before and I believe it has to do with the fact that the Subversion hook is 
running with no environment defined, but why it makes Perl not able to find my 
libs ONLY when it runs as a Subversion hook I haven't a clue.


I tried a quick test creating an empty module in /root:

===
package Testme;

our $foobar = "foo!";
===

then ran

perl -e 'use lib "/root"; use Testme;'

as root and as non-root.

Running as root succeeded, non-root failed with "Can't locate Testme.pm 
in @INC...".


I suspect you'd still have the issue even if you hardcoded the absolute 
path;  Perl can't find the module because it can't read the directory 
it's in.



I have temporarily resolved the problem by moving my libraries to the 
/usr/lib/perl5/site_perl path (which I didn't want to do) which is predefined 
by my Perl installation in @INC.  The script now runs via the Subversion hook 
and finds my libraries just fine.  I would, however, like to understand what 
causes Perl to not recognize my added paths to @INC when it runs as a 
Subversion hook.


perl -V should show you the standard include paths;  custom local 
modules intended for general use should usually go somewhere under 
/usr/local/lib, and I've usually seen custom modules for specific uses 
get bundled into /usr/share/ or /usr/lib/, along with a 
matching "use lib" in the executables.


-kgd


RE: Perl can't find my libraries when run via the subversion post-commit script

2010-03-04 Thread Craig Thayer
Bingo!  That was it.  Thank you Chris and David.  David, I'm sorry I didn't try 
executing the script as the user the hook script runs as (which is apache BTW) 
as I already had a workaround.  But when Chris mentioned that the /root 
directory is typically setup with root access only the light finally went on in 
my head.  So I tried it and, sure enough, that is  why Perl couldn't find my 
libraries.

I guess I'll just leave my libraries where I put them for the workaround.

Thanks again guys for your help.  I really appreciate it.

Craig

-Original Message-
From: Chris Shelton [mailto:cshel...@shelton-family.net] 
Sent: Thursday, March 04, 2010 12:13 PM
To: Craig Thayer
Cc: users@subversion.apache.org
Subject: Re: Perl can't find my libraries when run via the subversion 
post-commit script

Craig,

On Thu, Mar 4, 2010 at 12:20 PM, Craig Thayer  wrote:

> Yes, I have tested the script on the Subversion server and it runs just fine. 
>  And I agree it is obvious that Perl is including the directories to my 
> libraries (so the use lib statements are working as designed as you stated).  
> However, it is Perl that is complaining that it can't find my libraries even 
> though they are clearly in the @INC path.  I have never run into this 
> situation before and I believe it has to do with the fact that the Subversion 
> hook is running with no environment defined, but why it makes Perl not able 
> to find my libs ONLY when it runs as a Subversion hook I haven't a clue.

Did you run the script "as the user that runs Subversion" as David
suggested?  This user is generally apache, nobody, www-data or such on
unix type systems.  The /root directory is typically setup with root
user only access, which would prevent a script running as a non-root
user from being able to access files in /root/perl5/lib.

chris


Merge question

2010-03-04 Thread CoolBreeze
I'm getting back into using Subversion and I'm not sure how to answer a
question a co-worker asked me regarding merging. Can someone please explain
how the following is handled with the following repository structure of our
ASP.NET Intranet site?

Our repository is structured below:

IntranetSite
   - Trunk
   - Branches
   - Tags

Now having all production source code witin the Trunk and development within
the Branches, if I'm working on the source of a particular sub-program
within the Branches as well as another developer is working a different
source file also under the same Branch, I've completed my work and am ready
for my changes to be merged back into the Trunk. Is it possible to merge
only my changes back into the Trunk? Becuase the other developer is Unit
Testing his source files, but he's not ready for his changes to be put into
the Trunk yet.

I hope this was clear.

Thanks.


Re: Merge question

2010-03-04 Thread Tyler Roscoe
On Thu, Mar 04, 2010 at 02:29:33PM -0500, CoolBreeze wrote:
> Now having all production source code witin the Trunk and development within
> the Branches, if I'm working on the source of a particular sub-program
> within the Branches as well as another developer is working a different
> source file also under the same Branch, I've completed my work and am ready
> for my changes to be merged back into the Trunk. Is it possible to merge

This is a cherry-pick merge. Check out the Merge chapter of the book (or
wait for someone less lazy than me to link you to it).

tyler


RE: Merge question

2010-03-04 Thread Bob Archer
> On Thu, Mar 04, 2010 at 02:29:33PM -0500, CoolBreeze wrote:
> > Now having all production source code witin the Trunk and development
> within
> > the Branches, if I'm working on the source of a particular sub-program
> > within the Branches as well as another developer is working a different
> > source file also under the same Branch, I've completed my work and am
> ready
> > for my changes to be merged back into the Trunk. Is it possible to merge
> 
> This is a cherry-pick merge. Check out the Merge chapter of the book (or
> wait for someone less lazy than me to link you to it).
> 
> tyler

http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.branchmerge.cherrypicking

BOb



Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-04 Thread Abhijeeth Tulasi
Hi,
I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot. I was
wondering if anyone would be kind enough to refer me the setup process of
integrating Subversion with Oracle SQL Developer.
Thank you,
Abhi


RE: Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-04 Thread Bob Archer
> I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot. I was
> wondering if anyone would be kind enough to refer me the setup process of
> integrating Subversion with Oracle SQL Developer.
> Thank you,
> Abhi

Is that a Windows tool? If so, does it support the SCC providers?

If yes to both of those you could try Ankha 
http://ankhsvn.open.collab.net/

If not, I guess you can use the svn CLI or if you are on Windows TortoiseSVN to 
work with your checked out working copy.

BOb



Re: How to use txdelta_window?

2010-03-04 Thread Alexey Neyman
Figured it out; I used svn_repos_replay, which does not send deltas. 
Everything works with svn_repos_replay2.

Regards,
Alexey.

On Wednesday 03 March 2010 05:34:02 pm Alexey Neyman wrote:
> Hi all,
>
> I am trying to check for some content changes in the pre-commit script,
> and for that I am trying to employ the apply_textdelta method in the
> editor. From the comments in the code (e.g. in python bindings), I
> understand that the "window handler" callback should be called
> repeatedly and the last call would pass None (NULL in C) as the window
> pointer.
>
> However that does not seem to be the case. I tried creating the
> following editor and invoking it from pre-commit scripts:
>
>   def add_file(self, path, parent_baton, copyfrom_path,
> copyfrom_revision, file_pool): if copyfrom_path is not None:
>   sys.stderr.write(("@@ add_file %s (from %s:%d)\n" % (path,
> copyfrom_path, copyfrom_rev))) else:
>   sys.stderr.write(("@@ add_file %s\n" % (path)))
> return [ path ]
>
>   def apply_textdelta(self, file_baton, base_checksum):
> sys.stderr.write(("@@ apply_textdelta to %s\n" % (file_baton[0])))
> def winhnd(window, btn=file_baton, rcv=self):
>   if window is not None:
> sys.stderr.write(("@@ delta_window on %s - not null\n" %
> (btn[0]))) else:
> sys.stderr.write(("@@ delta_window on %s - null\n" % (btn[0])))
> return winhnd
>
>   def open_file(self, path, parent_baton, base_revision, file_pool):
> sys.stderr.write(("@@ open_file %s\n" % (path)))
> return [ path ]
>
>   def close_file(self, file_baton, text_checksum):
> sys.stderr.write(("@@ close_file %s\n" % (file_baton[0])))
> return
>
> With that script, I get the output as below:
>
> @@ open_file foo/bar1
> @@ apply_textdelta to foo/bar1
> @@ delta_window on foo/bar1 - null
> @@ close_file foo/bar1
> @@ open_file foo/bar2
> @@ apply_textdelta to foo/bar2
> @@ delta_window on foo/bar2 - null
> @@ close_file foo/bar2
>
> That is, the "window handler" is always called with None object as
> the text delta. Am I doing something wrong? Could the change content
> be accessed from the pre-commit script?
>
> Regards,
> Alexey.


Re: Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-04 Thread Mark Phippard
On Thu, Mar 4, 2010 at 3:21 PM, Bob Archer  wrote:
>> I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot. I was
>> wondering if anyone would be kind enough to refer me the setup process of
>> integrating Subversion with Oracle SQL Developer.
>> Thank you,
>> Abhi
>
> Is that a Windows tool? If so, does it support the SCC providers?
>
> If yes to both of those you could try Ankha
> http://ankhsvn.open.collab.net/

AnkhSVN is not a Windows SCC provider.  It is an integration
specifically for modern versions of Visual Studio.

Oracle's JDeveloper IDE has nice SVN integration built in, is free,
and can be used for development of any type of Oracle application (at
least that was my impression).  I'd look at it first to see if it
provides the tools you need.

http://www.oracle.com/technology/products/jdev/index.html

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/


RE: Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-04 Thread Bob Archer
> On Thu, Mar 4, 2010 at 3:21 PM, Bob Archer  wrote:
> >> I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot. I
> was
> >> wondering if anyone would be kind enough to refer me the setup process
> of
> >> integrating Subversion with Oracle SQL Developer.
> >> Thank you,
> >> Abhi
> >
> > Is that a Windows tool? If so, does it support the SCC providers?
> >
> > If yes to both of those you could try Ankha
> > http://ankhsvn.open.collab.net/
> 
> AnkhSVN is not a Windows SCC provider.  It is an integration
> specifically for modern versions of Visual Studio.
> 

That used to be true... but from the project web site:

In February 2008 the decision was made to rewrite the AnkhSVN engine to create 
a full Source Code Control Package (SCC) for Visual Studio 2005, 2008 and later 
on top of the new SharpSvn library. The new engine will be the base of the new 
2.X releases which saw its initial release in June 2008. This new version 
integrates deeply in Visual Studio to give better performance, stability and 
usability. The new Pending Changes window gives an up-to-date overview of all 
your project actions and provides easy access to most subversion commands.


BOb


Re: Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-04 Thread Mark Phippard
On Thu, Mar 4, 2010 at 3:33 PM, Bob Archer  wrote:
>> On Thu, Mar 4, 2010 at 3:21 PM, Bob Archer  wrote:
>> >> I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot. I
>> was
>> >> wondering if anyone would be kind enough to refer me the setup process
>> of
>> >> integrating Subversion with Oracle SQL Developer.
>> >> Thank you,
>> >> Abhi
>> >
>> > Is that a Windows tool? If so, does it support the SCC providers?
>> >
>> > If yes to both of those you could try Ankha
>> > http://ankhsvn.open.collab.net/
>>
>> AnkhSVN is not a Windows SCC provider.  It is an integration
>> specifically for modern versions of Visual Studio.
>>
>
> That used to be true... but from the project web site:
>
> In February 2008 the decision was made to rewrite the AnkhSVN engine to 
> create a full Source Code Control Package (SCC) for Visual Studio 2005, 2008 
> and later on top of the new SharpSvn library. The new engine will be the base 
> of the new 2.X releases which saw its initial release in June 2008. This new 
> version integrates deeply in Visual Studio to give better performance, 
> stability and usability. The new Pending Changes window gives an up-to-date 
> overview of all your project actions and provides easy access to most 
> subversion commands.


You are confusing this usage of (SCC) with the old Microsoft Source
Code Control Interface (MSSCCI) which was the API that a lot of older
IDE's used to implement so that Source Safe worked with them.

>From the FAQ:
http://ankhsvn.open.collab.net/wiki/Faq/#head-c716115ea60f783551e22b1d6d505f0e3aa3a014

Can I use AnkhSVN 2.X as MSSCCI provider in applications other than
Visual Studio?

No, AnkhSVN 2.x implements the newer SCC implementation for Visual
Studio 2005 and later. The older MSSCCI implementation forced all
implementations to use the check-out check-in idiom (including making
files read-only).

The newer VAPI SCC implementation implemented by AnkhSVN 2.x doesn't
have these limitations and allows our implementation to integrate
deeper in Visual Studio.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/


Re: Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-04 Thread Abhijeeth Tulasi
Dear Bob and Mark,
Thanks for your replies. "Oracle SQL Developer"  is not a Windows Tool (Not
a Microsoft Tool like Visual Studio). Its a tool developed by Oracle Corp.
and they claim to have close integration with Subversion. Kindly have a
quick look at this link
http://www.oracle.com/technology/oramag/oracle/08-jul/o48sql.html.
Though they have the tutorial for its usage, it does not have any doc on its
installation/integration/setup process. Kindly let me know or forward me to
any info that you might have.
Thanks you and appreciate you response,
Abhi


On Thu, Mar 4, 2010 at 3:33 PM, Bob Archer  wrote:

> > On Thu, Mar 4, 2010 at 3:21 PM, Bob Archer  wrote:
> > >> I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot. I
> > was
> > >> wondering if anyone would be kind enough to refer me the setup process
> > of
> > >> integrating Subversion with Oracle SQL Developer.
> > >> Thank you,
> > >> Abhi
> > >
> > > Is that a Windows tool? If so, does it support the SCC providers?
> > >
> > > If yes to both of those you could try Ankha
> > > http://ankhsvn.open.collab.net/
> >
> > AnkhSVN is not a Windows SCC provider.  It is an integration
> > specifically for modern versions of Visual Studio.
> >
>
> That used to be true... but from the project web site:
>
> In February 2008 the decision was made to rewrite the AnkhSVN engine to
> create a full Source Code Control Package (SCC) for Visual Studio 2005, 2008
> and later on top of the new SharpSvn library. The new engine will be the
> base of the new 2.X releases which saw its initial release in June 2008.
> This new version integrates deeply in Visual Studio to give better
> performance, stability and usability. The new Pending Changes window gives
> an up-to-date overview of all your project actions and provides easy access
> to most subversion commands.
>
>
> BOb
>


RE: Hi .. Doc on Subversion integration with Oracle SQL Developer .. Regards, Abhi

2010-03-04 Thread Bob Archer
> .. Regards, Abhi
> 
> On Thu, Mar 4, 2010 at 3:33 PM, Bob Archer  wrote:
> >> On Thu, Mar 4, 2010 at 3:21 PM, Bob Archer  wrote:
> >> >> I am an Oracle Developer and I use "Oracle SQL Developer" IDE a lot.
> I
> >> was
> >> >> wondering if anyone would be kind enough to refer me the setup
> process
> >> of
> >> >> integrating Subversion with Oracle SQL Developer.
> >> >> Thank you,
> >> >> Abhi
> >> >
> >> > Is that a Windows tool? If so, does it support the SCC providers?
> >> >
> >> > If yes to both of those you could try Ankha
> >> > http://ankhsvn.open.collab.net/
> >>
> >> AnkhSVN is not a Windows SCC provider.  It is an integration
> >> specifically for modern versions of Visual Studio.
> >>
> >
> > That used to be true... but from the project web site:
> >
> > In February 2008 the decision was made to rewrite the AnkhSVN engine to
> create a full Source Code Control Package (SCC) for Visual Studio 2005,
> 2008 and later on top of the new SharpSvn library. The new engine will be
> the base of the new 2.X releases which saw its initial release in June
> 2008. This new version integrates deeply in Visual Studio to give better
> performance, stability and usability. The new Pending Changes window gives
> an up-to-date overview of all your project actions and provides easy
> access to most subversion commands.
> 
> 
> You are confusing this usage of (SCC) with the old Microsoft Source
> Code Control Interface (MSSCCI) which was the API that a lot of older
> IDE's used to implement so that Source Safe worked with them.
> 
> From the FAQ:
> http://ankhsvn.open.collab.net/wiki/Faq/#head-
> c716115ea60f783551e22b1d6d505f0e3aa3a014
> 
> Can I use AnkhSVN 2.X as MSSCCI provider in applications other than
> Visual Studio?
> 
> No, AnkhSVN 2.x implements the newer SCC implementation for Visual
> Studio 2005 and later. The older MSSCCI implementation forced all
> implementations to use the check-out check-in idiom (including making
> files read-only).
> 
> The newer VAPI SCC implementation implemented by AnkhSVN 2.x doesn't
> have these limitations and allows our implementation to integrate
> deeper in Visual Studio.
> 

Hmm... I wasn't aware there was a new SCC provider spec. Interesting.

BOb



Re: Merge question

2010-03-04 Thread Tyler Roscoe
On Thu, Mar 04, 2010 at 02:49:53PM -0500, Bob Archer wrote:
> http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.branchmerge.cherrypicking

Bob is an excellent example of someone less lazy than me :).

tyler


svn export lists inaccessible files

2010-03-04 Thread larry carleton

I use tortoise SVN for subversin access:
I think tortoise use *svn export --force --depth immediate URL* to list 
directory contents in their browser

and *svn checkout URL* for checkouts.
This means the browser displays directories to which content access is 
denied, and which will not be checked out.

E.g.,
User U has r access to folder A and subfolder B, but no access to 
subfolder C.
In the browser, at URL for A, U can see icons for both B and C (though 
contents of C will appear empty).
If  U does checkout to a disk directory for A, U will get subdirectory B 
and its contents but no subdirectory C.
Is there a configuration I can do so svn export will not display 
directory C in this example?


RE: svn export lists inaccessible files

2010-03-04 Thread Bob Archer
> I use tortoise SVN for subversin access:
> I think tortoise use svn export --force --depth immediate URL to list
> directory contents in their browser
> and svn checkout URL for checkouts.
> This means the browser displays directories to which content access is
> denied, and which will not be checked out.
> E.g.,
> User U has r access to folder A and subfolder B, but no access to
> subfolder C.
> In the browser, at URL for A, U can see icons for both B and C (though
> contents of C will appear empty).
> If  U does checkout to a disk directory for A, U will get subdirectory B
> and its contents but no subdirectory C.
> Is there a configuration I can do so svn export will not display directory
> C in this example?

If this isn't a FAQ it should be. Path based auth in SVN prevents the user from 
getting to contents of a folder... but it doesn't hide the folder. I'm pretty 
sure there is an SVN jira issue for this.

BOb



Empty username in repo

2010-03-04 Thread Králik Barnabás
Hello!

 

As an SVN server I have subversion 1.6.9 w/mod_svn 1.6.9 on a Debian box.
Authentication is HTTP Basic through HTTPS against an LDAP directory.
Sometimes when doing a commit the username field is empty in the repository
(svn ls shows a "?"). I am using two clients: TortoiseSVN (1.6.7.18415 64
bit built against svn 1.6.9) and the NetBeans bundled client (version
1.8.1.42.1) Where can I begin to look for an answer? Has anyone gotten into
such a problem?

 

Thanks for your help,

Regards,

Barnabás Králik

 



SVN Bug? mergeinfo being stamped on wrong files

2010-03-04 Thread Brad Heide
Hi.

This is my first attempt at making a bug report to this group. Hopefully 
I'll get it right.

SVN server version: 1.6.5. Build: Tigris.org, Apache 2.2 compatible, 
maintained by D.J. Heap, Branko Čibej and Troy Simpson)
SVN client version: 1.6.9. Build: Collabnet, Windows version.
Client OS: Windows XP SP3, 32-bit
Server OS: Windows 2003 SP2, 32-bit
Apache version: 2.2.13

Ever since our company upgraded to Subversion 1.6 we have occassionally 
experience a problem with merging where files that should not have been 
touched by the merge end up showing up in the diffs afterward with the 
merged revision number stamped in their properties. In all cases the files 
in question have not actually been modifed by the merge, just had their 
mergeinfo property updated with the revision number used in the merge.

It seems to happen only in some branches. Where it does happen the same 
files keep getting touched by any other revisions we merge to the branch 
even when those files are not related to the revision being merged.

Sorry, I don't have a reproducable but here is a log of an example: I am 
merging revision 38300 from trunk [_Core3-trunk\Modules\Core] to branch [
Core3-3.15.x\Modules\Core].


C:\Dev\ModuleTests\Core3-3.15.x\Modules\Core>svn --version --quiet
1.6.9

C:\Dev\ModuleTests\Core3-3.15.x\Modules\Core>svn diff

(no differences currently in branch)


C:\Dev\ModuleTests\Core3-3.15.x\Modules\Core>svn log -v -c 38300 
..\..\..\_Core3-trunk\Modules\Core

r38300 | brad.heide | 2010-02-19 18:04:17 -0500 (Fri, 19 Feb 2010) | 1 
line
Changed paths:
   M /modules/Core3/trunk/Lib/CoreLib/TCF_Json.cpp

DEVCORE3-929 Debug Assertion Error in JSON Value::asCString (When 
converting to a Rowset attribute string)


(Only one file, TCF_Json.cpp, is part of revision 38300. Next we do the 
actual merge...)


C:\Dev\ModuleTests\Core3-3.15.x\Modules\Core>svn merge -c 38300 
..\..\..\_Core3-trunk\Modules\Core

(It just so happens that revision 38300 has already been merged to this 
branch so we expect the result of this merge operation to be no changes in 
the working copy, but lets check for diffs anyhow...)


C:\Dev\ModuleTests\Core3-3.15.x\Modules\Core>svn diff

Property changes on: .
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk:r38300


Property changes on: Test\WebTester
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Test/WebTester:r38300


Property changes on: Exe\CliShell
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Exe/CliShell:r38300


Property changes on: Exe\CliShell\CliShell.cpp
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Exe/CliShell/CliShell.cpp:r38300


Property changes on: Exe\ProfileEditor
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Exe/ProfileEditor:r38300


Property changes on: Include
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Include:r38300


Property changes on: Include\TCG_Sdd.h
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Include/TCG_Sdd.h:r38300


Property changes on: UserAgent\W3C\Behavior\Editors
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/UserAgent/W3C/Behavior/Editors:r38300


Property changes on: Lib\CoreLib\CoreLib4.dsp
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Lib/CoreLib/CoreLib4.dsp:r38300


Property changes on: Lib\CoreLibHelp\CoreLibHelp4.dsp
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Lib/CoreLibHelp/CoreLibHelp4.dsp:r38300


Property changes on: Lib\UTestLib
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Lib/UTestLib:r38300


Property changes on: Cli
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Cli:r38300


Property changes on: Cli\TpxTest
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Cli/TpxTest:r38300


Property changes on: Srv\CoreSrvApp
___
Modified: svn:mergeinfo
   Merged /modules/Core3/trunk/Srv/CoreSrvApp:r38300


C:\Dev\ModuleTests\Core3-3.15.x\Modules\Core>

A whole bun

Doubts

2010-03-04 Thread An Me
Hi All,

These are my doubts.

(1)  When we checkout the project from svn,a new hidden folder .svn also
cmes in to picture.When I opened the folder, I saw these sub folders
prop-base, text-base,props, tmp and files namely,dir-prop-base and
entries.What is the significance of these subfolders and files and how svn
is able to track changes with this hidden folder. I tried googling but
couldn't find useful results.

(2)  Where actually svn keeps the pristine copy..is it in .svn hidden
folder?

(3)  Can we set image file as a property value...But as i tried opening from
command prompt (Windows) using propget command...it didn't work..I also
tried retreiving value using subclipse also...it din't work...What can be
the reason?

(4) In subverson 1.7 , every article is talking about next generation
working copy...what exactly does it do..please explain such that a new-bie
like me can understand.They all are talking about centralized meta-data
storage...what does it mean...??..is it a single .svn folder for the whole
project instead of one per folder/subfolder..??

(5) While comparing svn and cvs, it is said that branchin & taggin is faster
in svn than in cvs...I haven't used cvs...Can u explain vat could be the
possible reason...??..svn uses svn copy to branch/tag...bt vat does cvs
use??...& why is it slow?


Regards,
An


Re: Doubts

2010-03-04 Thread David Weintraub

Answers below.

--
David Weintraub
da...@weintraub.name
Sent from my iPhone while riding in my Ferrari. (Jealous?)

On Mar 5, 2010, at 12:29 AM, An Me  wrote:


Hi All,

These are my doubts.

(1)  When we checkout the project from svn,a new hidden folder .svn  
also cmes in to picture.When I opened the folder, I saw these sub  
folders prop-base, text-base,props, tmp and files namely,dir-prop- 
base and entries.What is the significance of these subfolders and  
files and how svn is able to track changes with this hidden folder.  
I tried googling but couldn't find useful results.


Subversion uses these .svn folders to track your working copy. They  
tell Subversion what URL was checked out, version, etc. Do not touch  
anything in these .svn directories. CVS does something similar with  
CVS directories.


(2)  Where actually svn keeps the pristine copy..is it in .svn  
hidden folder?


Yes. That's why Subversion can tell you what files were changed and do  
diffs without talking to the server. It makes Subversion pretty fast.


(3)  Can we set image file as a property value...But as i tried  
opening from command prompt (Windows) using propget command...it  
didn't work..I also tried retreiving value using subclipse also...it  
din't work...What can be the reason?


Property values are text strings. You can have the text string be  
equal to an image file's name. You can attach a property to Amy file  
or directory -- even image files.


(4) In subverson 1.7 , every article is talking about next  
generation working copy...what exactly does it do..please explain  
such that a new-bie like me can understand.They all are talking  
about centralized meta-data storage...what does it mean...??..is it  
a single .svn folder for the whole project instead of one per folder/ 
subfolder..??


I don't do Subversion development, so I don't follow the development  
roadmap too carefully.  It sounds like they're redoing the working  
copy meta-data (the stuff in the .svn folders you're not suppose to  
touch to add features like off line commits and shelving.


At one time the developers were discussing the possibility of taking  
the .svn directories out of the working copy, but that was difficult  
to do. There is one .svn directory per checked out directory for  
programming reasons. You don't have to search an entire directory tree  
to find that info or talk to the server.




(5) While comparing svn and cvs, it is said that branchin & taggin  
is faster in svn than in cvs...I haven't used cvs...Can u explain  
vat could be the possible reason...??..svn uses svn copy to branch/ 
tag...bt vat does cvs use??...& why is it slow?


Most source control systems including CVS tag each individual file in  
the repository with a tag. If you have 30,000 files in your release,  
you have to tag 30,000 files on the server  Subversion tags the entire  
release with a single tag. What use to take 30-40 minutes to tag in  
CVS now takes a frction of a second.


good svn GUI for linux ?

2010-03-04 Thread J. Bakshi
Hello list,

Could any one suggest me a good svn GUI client for linux ? I have
already found esvn as a nice one. aptana is there but it is a java baded
IDE with svn plugin support and aptana is HUGE... Apart from these two
rapidsvn is tehre and I have also found pysvn based on python. I am
searching for a client which is fat free ( that's why I don't use kdesvn
) and just provides all svn functionalities. Any recommendation ?

Thanks

-- 
জয়দীপ বক্সী