Sponsored Content
Top Forums Shell Programming and Scripting Get out of only Modified and Added files in svn log Post 302845925 by iaav on Thursday 22nd of August 2013 03:35:19 PM
Old 08-22-2013
Get out of only Modified and Added files in svn log

How to get only modified and added files with revision,author and comments from svn log verbose

Code:
------------------------------------------------------------------------
r7351 | user01 | 2013-07-02 17:53:28 -0400 (Tue, 02 Jul 2013) | 2 lines
Changed paths:
   D /trunk/demo/proj1/.project

jira-125723
 Removing unwanted files
------------------------------------------------------------------------
------------------------------------------------------------------------
r7352 | user02 | 2013-07-02 17:54:24 -0400 (Tue, 02 Jul 2013) | 2 lines
Changed paths:
   D /trunk/demo/proj2/320-test.ert

jira-125723
 Removing unwanted files
------------------------------------------------------------------------
------------------------------------------------------------------------
r7504 | user04 | 2013-07-08 14:26:36 -0400 (Mon, 08 Jul 2013) | 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 | 2013-07-08 16:17:52 -0400 (Mon, 08 Jul 2013) | 1 line
Changed paths:
   A /trunk/demo/ant/properties

jira-2185

My code and output:
Code:
cat test | awk '/^r[0-9]* \|/ { REVISION=$1; } /  [AM]/ { print REVISION": "$0; }'
r7504:    M /trunk/demo/maven/Sum.jsp
r7504:    M /trunk/demo/Code/Results.jsp
r7523:    A /trunk/demo/ant/properties

But i need author and comments information too.
 

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-INJECT(1)							 Command reference						     SVN-INJECT(1)

NAME
svn-inject - puts a Debian source package into Subversion repository SYNOPSIS
svn-inject [options] package.dsc repository_URL OPTIONS
svn-inject accepts the following options on the command-line: -h print the help menu -v Make the command output verbose Default: Off. -q Hide less important messages Default: Off. -l Layout type. 1 (default) means package/{trunk,tags,branches,...} scheme, 2 means the {trunk,tags,branches,...}/package scheme. Default: 1 -t directory Specify the directory where the .orig.tar.gz files are stored on the local machine. Default: Off. -d | --do-like=directory Looks at the working directory of some other package and uses its base URL, tarball storage directory and similar checkout target directory. Default: Off. -c number Checkout nothing (0), trunk directory (1) or everything (2) when the work is done. Default: 1 -o Only keep modified files under SVN control (including the debian/ directory), track only parts of upstream branch Default: Off. -O | --no-branches Do not create the branches subdirectory at all. This works in a similar way to -o but all changes on upstream files (e.g. meta changes like updating the config.guess and config.sub files) are ignored and the upstream branch is not used. Default: use branches/. -s By default, svn-inject used to create .svn/deb-layout after an inject operation if a checkout followed the inject. Since version 0.6.22 this behaviour is deprecated. With this parameter svn-inject will replicate the old behaviour. This option was provided since it can be useful when creating a local override file. Default: Off. -setprops -set-props Set svn-bp:* props on the debian directory automatically. Default: Off. SEE ALSO
/usr/share/doc/svn-buildpackage/() The svn-buildpackage HOWTO manual svn-upgrade(1) upgrade source package from a new upstream revision. svn(1) Subversion command line client tool dpkg-buildpackage(1) Debian source package tools AUTHORS
Eduard Bloch This manual page was written by Eduard Bloch in roff. Goneri Le Bouder Converted manpages to SGML. Neil Williams Converted manpages to DocBook XML and current Debian maintainer COPYRIGHT
Copyright (C) 2009 Eduard Bloch Release: 0.8.2 May 2009 SVN-INJECT(1)
All times are GMT -4. The time now is 04:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy