You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andrew Thompson <su...@aktzero.com> on 2005/04/13 21:44:17 UTC

"me too" changelog feature?

In another list I'm subscribed to, they are talking 
Linus/BitKeeper/alternative version control. One project that came up 
was Monotone.

This feature was listed in their most recent changelog:

  - new file "MT/log" can be edited while you work,
                   sets default changelog.  (no change in behaviour if
                   you do not edit it.)  Thanks to Jeremy Cowgar
                   <je...@cowgar.com>.

I had to read it twice, but after that I was like "sweet".

Although I think end users should normally stay out of the .svn/ 
folders, the idea is likable.

Comments?

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: "me too" changelog feature?

Posted by Peter Münster <pm...@free.fr>.
On Wed, 13 Apr 2005, Andrew Thompson wrote:

> In another list I'm subscribed to, they are talking 
> Linus/BitKeeper/alternative version control. One project that came up 
> was Monotone.
> 
> This feature was listed in their most recent changelog:
> 
>   - new file "MT/log" can be edited while you work,
>                    sets default changelog.  (no change in behaviour if
>                    you do not edit it.)  Thanks to Jeremy Cowgar
>                    <je...@cowgar.com>.
> 
> I had to read it twice, but after that I was like "sweet".

Perhaps a script like this will do it (I named it "svn-commit"):

#!/bin/bash

if [ -s ChangeLog ]; then
	svn commit -F ChangeLog && echo -n >ChangeLog
else
	echo Error: no ChangeLog found.
	exit 1
fi

Cheers, Peter

-- 
email: pmrb at free.fr
http://pmrb.free.fr/contact/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: "me too" changelog feature?

Posted by kf...@collab.net.
Andrew Thompson <su...@aktzero.com> writes:
> Aaah yes, I forgot about that.
> 
> > and anyway it's easy to edit a log message after the commit.
> 
> Must research this some...

Allow me to save you the time:

   http://subversion.tigris.org/faq.html#change-log-msg

Best,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: "me too" changelog feature?

Posted by Andrew Thompson <su...@aktzero.com>.
kfogel@collab.net wrote:
>>>> - new file "MT/log" can be edited while you work,
>>>>                  sets default changelog.  (no change in behaviour if
>>>>                  you do not edit it.)  Thanks to Jeremy Cowgar
>>>>                  <je...@cowgar.com>.
>>>>
>>>
>>>How does this differ from keeping a file with a log message as you
>>>work?  (I do that with Subversion all the time.)
>>
>>It automatically puts whatever you typed in there in to the commit
>>message for you to just tweak and save.
> 
> 
> I have to admit, it'd be a low priority for me (other developers may
> feel differently, though).  One can achieve the same thing with
> 
>    $ svn commit -F logmsg.txt

Aaah yes, I forgot about that.

> and anyway it's easy to edit a log message after the commit.

Must research this some...

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: "me too" changelog feature?

Posted by kf...@collab.net.
Andrew Thompson <su...@aktzero.com> writes:
> kfogel@collab.net wrote:
> >>  - new file "MT/log" can be edited while you work,
> >>                   sets default changelog.  (no change in behaviour if
> >>                   you do not edit it.)  Thanks to Jeremy Cowgar
> >>                   <je...@cowgar.com>.
> >>
> > How does this differ from keeping a file with a log message as you
> > work?  (I do that with Subversion all the time.)
> 
> It automatically puts whatever you typed in there in to the commit
> message for you to just tweak and save.

I have to admit, it'd be a low priority for me (other developers may
feel differently, though).  One can achieve the same thing with

   $ svn commit -F logmsg.txt

and anyway it's easy to edit a log message after the commit.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: "me too" changelog feature?

Posted by Andrew Thompson <su...@aktzero.com>.
Saulius Grazulis wrote:
>>>How does this differ from keeping a file with a log message as you
>>>work?  (I do that with Subversion all the time.)
>>
>>It automatically puts whatever you typed in there in to the commit
>>message for you to just tweak and save.
> 
> 1. Could pre-commit hooks help?

I believe pre-commit is too late for the specific feature I was 
referring to.

> 2. I usually do commit for every logically finished step of the work (even if 
> it is only one symbol change). I guess this would make it easier to sort out 
> the things later, when there is a need to go back to a specific state of the 
> project.
> 
> So what if instead of writing changes into some log file, you just commit each 
> time you want to add something to the log? Subversion will keep the log for 
> you ;)?

That means when working on *any* task, you would branch and then commit 
each change along the way to the solution. Then a log dump against the 
branch root revision would give you back all your change notes that 
you'd include in your merge against trunk.

**Note: I don't consider this any kind of issue, so don't anyone get too 
riled up about it. It's something I saw and thought I'd throw out to the 
group.

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: "me too" changelog feature?

Posted by Saulius Grazulis <gr...@akl.lt>.
On Thursday 14 April 2005 03:07, Andrew Thompson wrote:

> > How does this differ from keeping a file with a log message as you
> > work?  (I do that with Subversion all the time.)
>
> It automatically puts whatever you typed in there in to the commit
> message for you to just tweak and save.

1. Could pre-commit hooks help?

2. I usually do commit for every logically finished step of the work (even if 
it is only one symbol change). I guess this would make it easier to sort out 
the things later, when there is a need to go back to a specific state of the 
project.

So what if instead of writing changes into some log file, you just commit each 
time you want to add something to the log? Subversion will keep the log for 
you ;)?

Just a thought...

-- 
Saulius Gražulis

Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)

tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

Re: "me too" changelog feature?

Posted by Andrew Thompson <su...@aktzero.com>.
kfogel@collab.net wrote:
>>  - new file "MT/log" can be edited while you work,
>>                   sets default changelog.  (no change in behaviour if
>>                   you do not edit it.)  Thanks to Jeremy Cowgar
>>                   <je...@cowgar.com>.
>>
> How does this differ from keeping a file with a log message as you
> work?  (I do that with Subversion all the time.)

It automatically puts whatever you typed in there in to the commit 
message for you to just tweak and save.

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: "me too" changelog feature?

Posted by kf...@collab.net.
Andrew Thompson <su...@aktzero.com> writes:
> In another list I'm subscribed to, they are talking
> Linus/BitKeeper/alternative version control. One project that came up
> was Monotone.
> 
> This feature was listed in their most recent changelog:
> 
>   - new file "MT/log" can be edited while you work,
>                    sets default changelog.  (no change in behaviour if
>                    you do not edit it.)  Thanks to Jeremy Cowgar
>                    <je...@cowgar.com>.
> 
> I had to read it twice, but after that I was like "sweet".
> 
> Although I think end users should normally stay out of the .svn/
> folders, the idea is likable.
> 
> Comments?

How does this differ from keeping a file with a log message as you
work?  (I do that with Subversion all the time.)

-Karl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org