On 9/10/2015 3:44 AM, Jacek Cała wrote:
.... Long time ago I was
trying to propose and (almost) implemented numbering for changes, so you
could do selective commit with range of files like 1-5,7. There was
little interest in that feature, so I gave up.

All in all, I think it would be nice to add these little things to the
console client, so the need for the GUI is only for those who really
hate console.

I realized mid change the other day that the repo I was in had a bunch of IDE private project data files that had been checked in. (Rant: Just when will IDE authors learn to prominently document their project databases to make interoperation with any VCS easier?)

I've learned to take care of that sort of housekeeping when I notice it, so I went and did fossil rm (and fixed ignore-glob) to nip them off. Then I had a current checkout where fossil changes listed the eight files marked DELETED, an ADDED line for ignore-glob (apparently I hadn't really set this repo up right yet), and four EDITED for the actual change.

I've never been certain how to checkin just a delete, rename or merge, so the easy answer in this case was to remember that the stash exists and use that to hold the real work for a minute or two while I checked in the structural changes.

But numbering the output of fossil changes with simple ordinals that can be used by an "immediately following" fossil commit would have been a clear and direct way of saying that to the command line. Those ordinals would have to be really transient, and likely are invalidated by nearly anything that changes a file, but for that specific sequence of fossil changes then fossil ci it could be friendly.

But the stash worked for me, and was in some sense safer because once the right files were stashed, I couldn't accidentally mix them into any checkin until they were popped back out.

--
Ross Berteig                               r...@cheshireeng.com
Cheshire Engineering Corp.           http://www.CheshireEng.com/

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to