You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ivan Zhakov <iv...@visualsvn.com> on 2015/01/02 15:21:27 UTC

Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

On 2 January 2015 at 16:46,  <st...@apache.org> wrote:
> Author: stefan2
> Date: Fri Jan  2 13:46:57 2015
> New Revision: 1649029
>
> URL: http://svn.apache.org/r1649029
> Log:
> Sync FSX with FSFS: Merge DAG-related sub-pool introduction
> patches r1647905, r1648243, r1648253 and r1648272 from FSFS
> and resolve the usual text conflicts due to naming differences.
> Block revisions r1648230, r1648238, r1648241, r1648242 and r1648532.
>
Stefan,

You've already got veto for these revisions (r1648243 etc) when you
have committed them to FSFS and reverted on trunk. What is the point
to merge them to FSX?

-- 
Ivan Zhakov

Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

Posted by Julian Foad <ju...@btopenworld.com>.
Ivan Zhakov wrote:
> On 12 January 2015 at 18:39, Julian Foad wrote:
>> Ivan Zhakov wrote:
>>>>>> URL: http://svn.apache.org/r1649029
>>>>>> Log:
>>>>>> Sync FSX with FSFS: Merge DAG-related sub-pool introduction
>>>>>> patches r1647905, r1648243, r1648253 and r1648272 from FSFS
>>>>>> and resolve the usual text conflicts due to naming differences.
>>>>>> Block revisions r1648230, r1648238, r1648241, r1648242 and r1648532.
>> 
>>> Also, it seems that this commit has another problems:
>>> 1. It doesn't have proper log message [1].
>>> 2. It mixes different unrelated changes in one commit, while it will
>>> be much easier to review them separately.
>> 
>> There is nothing wrong here. The log message says what's merged, and 
>> that is four revisions all described as "DAG-related sub-pool 
>> introduction", which means they are all parts of the same change - not 
>> unrelated changes.
> 
> Subversion community guide is very specific about proper log messages
> and I don't understand why this commit (and other previous FSX "merge"
> commits") does not follow it.

The Community Guide doesn't document what we do for merges. For merges, we nearly always just say what was merged. In my opinion, giving a detailed log message for what's changed by a merge should be encouraged but not required. I would suggest that for a fairly simple, mechanical change like this one, it is not usually very useful.

> Quoting Subversion community guide [1] again:
> [[[
> The log message should name every affected function, variable, macro,
> makefile target, grammar rule, etc, including the names of symbols
> that are being removed in this commit. This helps people searching
> through the logs later. Don't hide names in wildcards, because the
> globbed portion may be what someone searches for later.
> ]]]

Some exceptions are listed after the quoted section. Merges are another exception, which isn't (yet) documented.

> There is very good reason that every affected identifier should be
> mentioned in log message.

Sure, but not for every kind of change. 

- Julian


> [1] 
> https://subversion.apache.org/docs/community-guide/conventions.html#log-messages


Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

Posted by Branko Čibej <br...@wandisco.com>.
On 12.01.2015 16:54, Ivan Zhakov wrote:
> On 12 January 2015 at 18:39, Julian Foad <ju...@btopenworld.com> wrote:
>> Ivan Zhakov wrote:
>>>>>> URL: http://svn.apache.org/r1649029
>>>>>> Log:
>>>>>> Sync FSX with FSFS: Merge DAG-related sub-pool introduction
>>>>>> patches r1647905, r1648243, r1648253 and r1648272 from FSFS
>>>>>> and resolve the usual text conflicts due to naming differences.
>>>>>> Block revisions r1648230, r1648238, r1648241, r1648242 and r1648532.
>>> Also, it seems that this commit has another problems:
>>> 1. It doesn't have proper log message [1].
>>> 2. It mixes different unrelated changes in one commit, while it will
>>> be much easier to review them separately.
>> There is nothing wrong here. The log message says what's merged, and that is four revisions all described as "DAG-related sub-pool introduction", which means they are all parts of the same change - not unrelated changes.
>>
> Subversion community guide is very specific about proper log messages
> and I don't understand why this commit (and other previous FSX "merge"
> commits") does not follow it.
>
> Quoting Subversion community guide [1] again:
> [[[
> The log message should name every affected function, variable, macro,
> makefile target, grammar rule, etc, including the names of symbols
> that are being removed in this commit. This helps people searching
> through the logs later. Don't hide names in wildcards, because the
> globbed portion may be what someone searches for later.
> ]]]
>
> There is very good reason that every affected identifier should be
> mentioned in log message.

The point of that text is that anyone should be able to easily find the
changes just by reading the logs. When we merge stuff between branches,
we always just write which revisions were merged from where and why.
That's a clear pointer to the original logs. You're splitting hairs that
aren't even there.

Furthermore, you're trying to apply a resolved veto to code that was not
covered by it; we all agree that FSX is experimental and who's to know
what further changes will happen to those bits of code in the next
several years? Not to mention the last several days, if you want to be
pedantic about pool usage; it's all in the commit logs.

I'm really getting awfully tired of this constant sniping. Can you
please calm down a bit before you randomly accuse people for doing stuff
that's perfectly in line with our policies? Correction: ONE person;
which is, in fact, quite a bit worse.

-- Brane


Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Jan 12, 2015 at 06:54:22PM +0300, Ivan Zhakov wrote:
> Subversion community guide is very specific about proper log messages
> and I don't understand why this commit (and other previous FSX "merge"
> commits") does not follow it.
> 
> Quoting Subversion community guide [1] again:
> [[[
> The log message should name every affected function, variable, macro,
> makefile target, grammar rule, etc, including the names of symbols
> that are being removed in this commit. This helps people searching
> through the logs later. Don't hide names in wildcards, because the
> globbed portion may be what someone searches for later.
> ]]]
> 
> There is very good reason that every affected identifier should be
> mentioned in log message.

We don't usually do this in merge commits.

Would you really expect this in a 'sync with trunk' merge on a feature
branch that hasn't been updated in a while?
It would be a lot of duplicated work.

The same can be said for merges between subfolders.

Of course, merge commits should name the revisions merged so their log
messages cound be found easily.

Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

Posted by Ivan Zhakov <iv...@visualsvn.com>.
On 12 January 2015 at 18:39, Julian Foad <ju...@btopenworld.com> wrote:
> Ivan Zhakov wrote:
>>>>> URL: http://svn.apache.org/r1649029
>>>>> Log:
>>>>> Sync FSX with FSFS: Merge DAG-related sub-pool introduction
>>>>> patches r1647905, r1648243, r1648253 and r1648272 from FSFS
>>>>> and resolve the usual text conflicts due to naming differences.
>>>>> Block revisions r1648230, r1648238, r1648241, r1648242 and r1648532.
>
>> Also, it seems that this commit has another problems:
>> 1. It doesn't have proper log message [1].
>> 2. It mixes different unrelated changes in one commit, while it will
>> be much easier to review them separately.
>
> There is nothing wrong here. The log message says what's merged, and that is four revisions all described as "DAG-related sub-pool introduction", which means they are all parts of the same change - not unrelated changes.
>

Subversion community guide is very specific about proper log messages
and I don't understand why this commit (and other previous FSX "merge"
commits") does not follow it.

Quoting Subversion community guide [1] again:
[[[
The log message should name every affected function, variable, macro,
makefile target, grammar rule, etc, including the names of symbols
that are being removed in this commit. This helps people searching
through the logs later. Don't hide names in wildcards, because the
globbed portion may be what someone searches for later.
]]]

There is very good reason that every affected identifier should be
mentioned in log message.

[1] https://subversion.apache.org/docs/community-guide/conventions.html#log-messages

-- 
Ivan Zhakov

Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

Posted by Julian Foad <ju...@btopenworld.com>.
Ivan Zhakov wrote:
>>>> URL: http://svn.apache.org/r1649029
>>>> Log:
>>>> Sync FSX with FSFS: Merge DAG-related sub-pool introduction
>>>> patches r1647905, r1648243, r1648253 and r1648272 from FSFS
>>>> and resolve the usual text conflicts due to naming differences.
>>>> Block revisions r1648230, r1648238, r1648241, r1648242 and r1648532.

> Also, it seems that this commit has another problems:
> 1. It doesn't have proper log message [1].
> 2. It mixes different unrelated changes in one commit, while it will
> be much easier to review them separately.

There is nothing wrong here. The log message says what's merged, and that is four revisions all described as "DAG-related sub-pool introduction", which means they are all parts of the same change - not unrelated changes.

- Julian


Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

Posted by Ivan Zhakov <iv...@visualsvn.com>.
 5 January 2015 at 15:49, Stefan Fuhrmann <st...@wandisco.com> wrote:
> On Fri, Jan 2, 2015 at 3:21 PM, Ivan Zhakov <iv...@visualsvn.com> wrote:
>> On 2 January 2015 at 16:46,  <st...@apache.org> wrote:
>> > Author: stefan2
>> > Date: Fri Jan  2 13:46:57 2015
>> > New Revision: 1649029
>> >
>> > URL: http://svn.apache.org/r1649029
>> > Log:
>> > Sync FSX with FSFS: Merge DAG-related sub-pool introduction
>> > patches r1647905, r1648243, r1648253 and r1648272 from FSFS
>> > and resolve the usual text conflicts due to naming differences.
>> > Block revisions r1648230, r1648238, r1648241, r1648242 and r1648532.
>> >
>> Stefan,
>>
>> You've already got veto for these revisions (r1648243 etc) when you
>> have committed them to FSFS and reverted on trunk. What is the point
>> to merge them to FSX?
>
> The veto was based upon the crash Evgeny found.
> That crash was caused by r1648238.
>
As far as I understand there were two veto reasons against r1648253:
crash and APR pools usage violation.

Also, it seems that this commit has another problems:
1. It doesn't have proper log message [1].
2. It mixes different unrelated changes in one commit, while it will
be much easier to review them separately.

Mentioning all changed identifiers in log message is important.
Quoting Subversion community guide [1]
[[[
The log message should name every affected function, variable, macro,
makefile target, grammar rule, etc, including the names of symbols
that are being removed in this commit. This helps people searching
through the logs later. Don't hide names in wildcards, because the
globbed portion may be what someone searches for later.
]]]

We use the shortened log messages for backports to release branches,
but FSX is not a branch. This code is in trunk.

[1] https://subversion.apache.org/docs/community-guide/conventions.html#log-messages

---
Ivan Zhakov

Re: svn commit: r1649029 - in /subversion/trunk/subversion/libsvn_fs_x: ./ dag.c tree.c

Posted by Stefan Fuhrmann <st...@wandisco.com>.
On Fri, Jan 2, 2015 at 3:21 PM, Ivan Zhakov <iv...@visualsvn.com> wrote:

> On 2 January 2015 at 16:46,  <st...@apache.org> wrote:
> > Author: stefan2
> > Date: Fri Jan  2 13:46:57 2015
> > New Revision: 1649029
> >
> > URL: http://svn.apache.org/r1649029
> > Log:
> > Sync FSX with FSFS: Merge DAG-related sub-pool introduction
> > patches r1647905, r1648243, r1648253 and r1648272 from FSFS
> > and resolve the usual text conflicts due to naming differences.
> > Block revisions r1648230, r1648238, r1648241, r1648242 and r1648532.
> >
> Stefan,
>
> You've already got veto for these revisions (r1648243 etc) when you
> have committed them to FSFS and reverted on trunk. What is the point
> to merge them to FSX?
>

The veto was based upon the crash Evgeny found.
That crash was caused by r1648238.

I'm now beginning to move all FSX code towards
the two-pool paradigm. Those changes merged here
are a step into that direction.

-- Stefan^2.