Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9048873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:15:28+00:00 2026-06-16T12:15:28+00:00

I found this nice little script that I’ve made into a bash script. #!/bin/bash

  • 0

I found this nice little script that I’ve made into a bash script.

#!/bin/bash
svn log -v -r{$1}:HEAD | awk '/^r[0-9]+ / {user=$3} /./{if (user=="'$2'") {print}}' | grep -E "^   M|^   G|^   A|^   D|^   C|^   U" | awk '{print $2}' | sort | uniq

$1 = 2012-10-01 //for example
$2 = George //for example

This script seems to work but its only printing out commits from trunk.
When I svn log from the terminal I see all commits regardless of branch.

So far I’ve narrowed the problem down to awk.
We use spaces in our branch folder names. Don’t sure if that could be a problem.

Is /./ in awk area the issue?

So far, I’m getting the url from the svn info and putting it in a variable.

theURL=$(svn info | grep -E "^(URL: )http(s)?:")
theURL=${theURL:5}

Perhaps I can tell awk to only print out a line where the line matches part of my url scheme?

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T12:15:29+00:00Added an answer on June 16, 2026 at 12:15 pm

    svn log without path parameter uses default “.” path (which must be and can be only Working Copy, in your case – linked to trunk of repo)

    svn log URL at the same time can work with any part of tree for remote repository, unrelated to current setting of (some) WC.

    Just add and use 3-rd parameter

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this nifty little script that does a nice job of manipulating some
I found a nice little script on snippr( http://snipplr.com/view.php?codeview&id=799 ) that gives me the
found this little code snippet that seems to do what i want, but im
I recently used a nice little jquery script that loads images with a given
So, I found this nice little query: Select count(*) FROM Table_X WHERE year(DATE) =
I have this little program I write in ruby. I found a nice piece
Found this question that explained a way to communicate between layers. However there is
It's often the case that I can write a nice tight little VB.NET function,
I found this nice snippet of code online: rkApp = Registry.LocalMachine.OpenSubKey(SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run, true); Which runs
I just found a nice script you can see it over here http://demo.tutorialzine.com/2012/10/css3-dropdown-menu/ I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.