Sponsored Content
Top Forums Shell Programming and Scripting Get out of only Modified and Added files in svn log Post 302848249 by rdcwayx on Wednesday 28th of August 2013 10:40:58 PM
Old 08-28-2013
how about this, it is not exact for your request, but get mostly.

Code:
perl -l40pe 's/^-+/\n/' svn.log|awk -F \| '{$3=""}1'

 r7351   user01    2 lines Changed paths:    D /trunk/demo/proj1/.project  jira-125723  Removing unwanted files

 r7352   user02    2 lines Changed paths:    D /trunk/demo/proj2/320-test.ert  jira-125723  Removing unwanted files

 r7504   user04    4 lines Changed paths:    M /trunk/demo/maven/Sum.jsp    M /trunk/demo/Code/Results.jsp  jira-121639  WP-IQISU- lot of changes to fix issue

 r7523   user08    1 line Changed paths:    A /trunk/demo/ant/properties  jira-2185

This User Gave Thanks to rdcwayx For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Listing files added in a particular month

how can I ouput all files in working directory added in a particular month using shellscript (3 Replies)
Discussion started by: mohit_iitk
3 Replies

2. Shell Programming and Scripting

how to delete the older files other than the recently added 5 files

Number of files will get created in a folder automatically daily.. so i hav to delete the older files other than the recently added 5 files.. Could u help me through this..?? (5 Replies)
Discussion started by: shaal89
5 Replies

3. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

4. Shell Programming and Scripting

New sequence nos to be added in new files

Hi All, Please help me in below request. Got multiple files in a dir ex: /os . from each file need to filter based upon first field (field only has 1,2,3 or 4) and then put it in different files based on the Field 1. But need to generate a sequence while inserting and the sequence number needs... (1 Reply)
Discussion started by: rdakshn
1 Replies

5. UNIX for Advanced & Expert Users

Copy files from SVN Server

Hi, We have a SVN server on which the developers upload their source code which is in the form of a .ear file or a folder. We login to the SVN server using our credentials and then go to the directory in which the application is placed and then click on the download link to download the... (6 Replies)
Discussion started by: mohtashims
6 Replies

6. UNIX for Dummies Questions & Answers

How to archive old files from the recently added 10 files?

Hi there, I am very new to unix and having trouble with a fairly simple statement: cd /user ls -t -c1 | sed -ne '11,$p' | mv xargs archive/ What I want the code to do is sort all files in a directory by timestamp, select all of the files after the 10th file, and then move those files... (3 Replies)
Discussion started by: DSIReady
3 Replies

7. Shell Programming and Scripting

UNIX command/script svn log to get just the files information

Just need the directory name and files changes information in svn log This is my svn log verbose: svn log -v //test/svn/Demo/branches/HelloWorld/Batch --limit 2 ------------------------------------------------------------------------ r133 | testuser1 | 2013-04-02 18:22:28 -0400 (Tue, 02 Apr... (22 Replies)
Discussion started by: iaav
22 Replies

8. Shell Programming and Scripting

Saving svn log in a separate directory

Hi Folks, I have a directory at /usr/local/aa and there is other directory where I have checkout the code through svn checkout command ( /opt/app/fgh) now I can apply svn log command here as shown below $ cd /opt/app/fgh svn checkout <url> svn log shows me the log on console . please... (3 Replies)
Discussion started by: punpun66
3 Replies

9. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
SVN::Hooks::AllowPropChange(3pm)			User Contributed Perl Documentation			  SVN::Hooks::AllowPropChange(3pm)

NAME
SVN::Hooks::AllowPropChange - Allow changes in revision properties. VERSION
version 1.19 SYNOPSIS
This SVN::Hooks plugin is used to allow revision (or non-versioned) properties ("svn:author", "svn:date", and "svn:log") to be changed by a group of users. It's active in the "pre-revprop-change" hook. It's configured by the following directive. ALLOW_PROP_CHANGE(PROP => WHO, ...) This directive enables the change of revision properties. By default any change is denied unless explicitly allowed by the directive. You can use the directive more than once. The PROP argument specifies the propertie(s) that are to be configured depending on its type. If no argument is given, no user can change any property. STRING Specify a single property by name ("author", "date", or "log"). REGEXP Specify all properties that match the Regexp. The optional WHO arguments specify the users that are allowed to make those changes. If absent, no user can change a log message. Otherwise, it specifies the allowed users depending on its type. STRING Specify a single user by name. REGEXP Specify the class of users whose names are matched by the Regexp. ALLOW_PROP_CHANGE('svn:log' => 'jsilva'); # jsilva can change svn:log ALLOW_PROP_CHANGE(qr/./ => qr/silva$/); # any *silva can change any property AUTHOR
Gustavo L. de M. Chaves <gnustavo@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by CPqD. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-24 SVN::Hooks::AllowPropChange(3pm)
All times are GMT -4. The time now is 07:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy