On Wed, Feb 18, 2004 at 12:42:27AM +0000, Chuan-kai Lin wrote:
> Greetings all,
Good to see old friends on the list :)
> Now, why is the default revision range BASE:1 instead of HEAD:1?
> Apparently "svn log" is designed to work recursively when given a
> directory argument, and in that case HEAD:1 seems to be a much more
> reasonable choice. Committing files in the directory does not change
> the BASE value of the directory itself, and I cannot see why would
> anyone want the log of all the changes of all the files in the
> directory but only those no later than the last-change date of the
> directory itself.
The log history tracking is not `recursive'. it tracks the changes of the
directory node. Committing files does not change the BASE until you
svn up. Commits only bumb BASE value for the nodes it touches, because
someone might have committed a non-conflicting change before you do.
> For nonrecursive operation, BASE:1 makes sense.
>
> For recursive operation, HEAD:1 makes more sense because BASE of the
> directory can be very different from BASE of the entire directory tree.
>
> So am I missing anything obvious on why BASE:1 is a better choice?
I think BASE:1 is still the correct behavior from the perspective of wc,
though I find it a bit annoying myself too.
Cheers,
CLK
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 18 05:15:43 2004