You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Scott Simpson <su...@scottsimpson.tv> on 2005/04/20 13:50:01 UTC
Easiest way to log all checkins in subversion?
What is the easiest way to log all the check-ins in Subversion? I want to:
1. Have a separate log file for each project.
2. Have a separate log file for each branch within that project (named
after the tag for the branch).
3. I want to log when something is tagged.
4. I want to log all the check-in messages, even if there are different
check-in messages for different files during the same "transaction".
Is it easiest to hack up the commit-email.pl file? That file seems to
give 1 and 4 but not 2 or 3.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Easiest way to log all checkins in subversion?
Posted by Ben Collins-Sussman <su...@collab.net>.
On Apr 20, 2005, at 8:50 AM, Scott Simpson wrote:
> What is the easiest way to log all the check-ins in Subversion? I want
> to:
>
> 1. Have a separate log file for each project.
> 2. Have a separate log file for each branch within that project (named
> after the tag for the branch).
> 3. I want to log when something is tagged.
> 4. I want to log all the check-in messages, even if there are different
> check-in messages for different files during the same "transaction".
>
> Is it easiest to hack up the commit-email.pl file? That file seems to
> give 1 and 4 but not 2 or 3.
>
Uh, isn't this why the 'svn log' command exists? Run 'svn log URL',
where URL is any directory within the repository, and you'll see the
history of every change ever made within that directory. And since
"projects", "branches" and "tags" are all directories, all of your
use-cases are covered.
Reading #4, I get the feeling you don't yet have any experience using
Subversion. There are no per-file check-in messages. I think you
might want to read the book, at least chapters 2/3/4.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Easiest way to log all checkins in subversion?
Posted by Gary Thomas <ga...@mlbassoc.com>.
On Wed, 2005-04-20 at 06:50 -0700, Scott Simpson wrote:
> What is the easiest way to log all the check-ins in Subversion? I want to:
>
> 1. Have a separate log file for each project.
> 2. Have a separate log file for each branch within that project (named
> after the tag for the branch).
> 3. I want to log when something is tagged.
> 4. I want to log all the check-in messages, even if there are different
> check-in messages for different files during the same "transaction".
>
> Is it easiest to hack up the commit-email.pl file? That file seems to
> give 1 and 4 but not 2 or 3.
I would think the place to do this would be in the post-commit hook.
Without too much trouble, you can do everything you're after.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org