On 07/07/2012 04:55 AM, Stephan Beal wrote:
Hiho,
i've come across the twice the past couple days:
- merge something from branch foo to trunk.
- edit branch foo and close it.
Could fossil's infrastructure support the ability (via an option) to
close a merged-in leaf on successful commit after a merge? e.g.
fossil merge foo trunk
fossil commit -m '...' --close-parents
which would then close all non-primary parents (most often just one).
This would be helpful for me too, since I tend to have lots of small
branches with lifespans in the 1 to 3 day range that only get merged
back into the parent once before being closed.
For example, when a project is in maintenance mode I tend to get emails
like:
Please change the following:
* foo -> bar
* baz is broken
* add little tiny feature quux
So I use a branch to organize the changes around a customer request
(branch name is often just "20120101 email Person") and the individual
checkins usually map to line items.
The real win for me would be that since it's a command line switch my
fingers would learn to do this by themselves (like they currently do
with 'fossil commit -m " " --branch "branch name"'). So far I've failed
to teach my hands to consistently reach for the mouse and close the
branch promptly, so I end up going back and closing a bunch of old
branches weeks later, which sort of confuses the timeline a bit.
--
Themba Fletcher
descriptionentity.com
:-?
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users