[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn_load_dirs.pl columns

From: David Pratt <fairwinds_at_eastlink.ca>
Date: 2006-12-28 21:40:01 CET

Hi. Found this in the source of svn_load_dirs.pl:

         # Split the input line into words taking into account that
         # single or double quotes may define a single word with
         # whitespace in it. The format for the file is
         # regex control property_name property_value

So I am thinking perhaps setting svn:keywords may be able to be done
like this:
\.bat$ cont svn:keywords 'Id Revision'

and setting svn:executable like this:
\.sh$ break svn:executable ''

Would appreciate is someone could confirm this since I don't want to
make a mess of my repository.

Also, please ignore the last part of my previous message, it appears I
did not change my revision number and I accidentally overwrote my former
tag. All part of the experience I guess. I have been attempting to
automate this the vendor branch process for myself to avoid potential
mistakes. Many thanks.

Regards,
David

David Pratt wrote:
> Hi I am using svn_load_dirs.pl to merge changes to current vendor branch
> like this:
>
> svn_load_dirs.pl -p "svn-ld-config.txt" -t "drop/r554"
> file:///path/to/my/repo/folder current somepackage.r554
>
> I receive warnings like this due to my svn-ld-config file since I am
> trying to set properties on files added to the repository
>
> /sw/share/svn-client/tools/client-side/svn_load_dirs.pl: line 1 of
> `svn-ld-config.txt' has to have 2 or 4 columns.
> /sw/share/svn-client/tools/client-side/svn_load_dirs.pl: line 3 of
> `svn-ld-config.txt' has to have 2 or 4 columns.
> /sw/share/svn-client/tools/client-side/svn_load_dirs.pl: line 5 of
> `svn-ld-config.txt' has to have 2 or 4 columns.
>
> my svn-ld-config.txt file looks like this:
>
> \.bat$ cont svn:keywords Id Revision
> \.bat$ break svn:eol-style native
> \.bsh$ cont svn:keywords Id Revision
> \.bsh$ break svn:eol-style native
> \.c$ cont svn:keywords Id Revision
> \.c$ break svn:eol-style native
> \.cpp$ cont svn:keywords Id Revision
> \.sh$ cont svn:eol-style native
> \.sh$ break svn:executable
>
> So I am seeing I cannot do equivalent of svn:keywords=Id Revision on a
> single line since it is interpreted as 5 columns. So do I use another
> cont to add the second keyword like so:
>
> \.bat$ cont svn:keywords Id
> \.bat$ cont svn:keywords Revision
> \.bat$ break svn:eol-style native
>
> Secondly, how do I make two or four columns out of setting a property like:
>
> \.sh$ break svn:executable
>
> Lastly, I had expected svn_load_dirs.pl to leave the previous tag
> (vendor revision - drop/r472) for my the previous vendor revision when I
> updated my vendor branch but was a bit suprised to see that it was gone
> once the new tag (drop/r554) was made. Is this normal? Many thanks.
>
> Regards,
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 28 21:40:45 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.