On Sun, Oct 21, 2012 at 7:33 AM, David Given <[email protected]> wrote:

> On 19/10/12 21:48, Richard Hipp wrote:
> [...]
> > It tells you about the conflict when you do the "update" or "merge".
> > That's the only warning you have.
> >
> > Do you think we should enhance Fossil to keep track of conflicts and
> > issue warnings if you try commit with unresolved conflicts?
>
> Definitely. It never even occurred to me that Fossil wouldn't already do
> this --- I believe all the other major VCSes do (although I've never had
> to deal with conflicts on git so don't know the workflow there).
>

I've implemented the change on a branch.
http://www.fossil-scm.org/fossil/info/1fb2ca625b

I'm not going to include that change in the upcoming 1.24 release since I
want to give more time to "bake".  It will appear in version 1.25.   In the
meantime, you can download the code and build your own Fossil executable
that includes this enhancement.  Using the branch will help me to test the
change, so I would appreciate doing so.  I'll merge the branch into trunk
after the 1.24 release.


>
> Now I know, of course, I'll pay more attention to the messages I get
> from "update", but even so I'm sure it's just a matter of time until I
> check in a conflicted file. (I would be interested to know if people
> have actually done this.)
>
> Apart from anything else, an explicit "resolve" step could also
> automatically clean up the extra files created as part of the conflict.
>

In the change above, there is no explicit "resolve" step.  Fossil
automatically senses whether or not you have resolved the conflict through
editing.

You can get rid of those extra files with the new --temp option to the
"fossil clean" command:  "fossil clean --temp"



> A fairly trivial issue, but dealing with conflicts is irritating at the
> best of times and every little helps...
>


--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "Of course, on a sufficiently small planet, 40 km/hr is, in fact,
│ sufficient to punt the elastic spherical cow into low orbit." ---
│ Brooks Moses on r.a.sf.c


> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to