Fossil SCM

drh 1 year, 4 months ago

Post: Proposed Enhancement: Manage open check-outs using "fossil ui"

When the web-interface is run using "fossil ui" or "fossil ui DIR" where "DIR" is the root directory of some check-out, then the web interface that pops up should have new capabilities, including but not limited to:

  • Show diffs between edited check-out files and other versions in the repository, using all of the graphical formats that are normally available for diffing two or more existing check-ins.

  • Commit changes - with an opportunity to show a timeline-like graph of where the new check-in will appear and an opportunity to preview the formatting of the check-in comment.

  • Update the check-out to a new base version, or revert any changes in the check-out.

  • View the stash. Be able to see differences with the stash or to apply a stash or create a new stash.

  • "fossil patch pull" from other machines.

  • Edit files of the open check-out in the browser.

This would be particularly useful when working on check-outs on remote headless machines that accessible only by SSH and over a slow connection, for example when working on a project on your office network over airliner wifi. Remember: The "fossil ui DIR" command accepts a DIR argument that is an SSH remote filename. It uses SSH to start "fossil ui" running in on the remote system and tunneling the HTTP protocol back through SSH. The special case of "fossil ui REMOTE:/" where the pathname after the remote host name is just "/" is the same as running "fossil all ui" on the remote host, and is a useful way of seeing all repositories on a remote system. Perhaps this feature could be extended to show all check-outs on the remote system as well.

The ability to commit using the web UI would possibly reduce the number of commit errors (such as at User Forum Post 7f5ae505e4144a0c).

brickviking 1 year, 4 months ago

Is there a fossil-local (i.e. to the .fossil file) list of open checkouts? I thought that the link only went one way, from the checkout-dir to the fossil via the .fslckout file (or equivalent in Windows).

By the way, was this meant to be over on the other forum?


RTDoc brickviking
(Post 1?)

stephan 1 year, 4 months ago

Is there a fossil-local (i.e. to the .fossil file) list of open checkouts?

No, but the global db tracks a list of opened checkouts for use with the "all" command.

By the way, was this meant to be over on the other forum?

Richard recently set up this one for tracking long-term dev topics.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button