Search code examples
version-controlfossil

How can I use fossil (DVCS) in a home environment?


I'm trying fossil as my new VCS, since I'm a lone developer working on small projects. I started testing fossil but I encountered a (probably major newbie) problem. How does one push or pull to another directory (which is easy on Hg). Fossil pull or push commands expect a URL and not a directory. When I start a server in one directory and try to push from another directory I get the "server loop" error message. Any ideas?


Solution

  • According to this fossil ticket, cloning, pushing and pulling require a fossil server to be running. You can't just use the repo, you'll have to start a server, then refer to http://localhost/whatever and you should be golden.

    1. Run fossil server in the original repository
    2. Go to the destination directory and run fossil clone http://localhost:8080 <repository name> (or push or pull)