Posted: Fri 15 Feb 2013, 01:54 Post subject:
Fossil basics: creating a local repository
The fossil documentation assumes you already have a repository of some kind set up somewhere.
But what if you just have a directory full of source code?
lets say all of your files are in a folder called myproject
this is how you set up a local repository using a local folder
from the parent directory of myproject
Code:
#this sets up your project file
fossil init myproject.FOSSIL
#tells fossil to open that project file
fossil open myproject.FOSSIL
#tell fossil to add the directory myfossil (and its contents) but not "commit" it
fossil add myproject
#this will update the changes so they can be seen in the UI
fossil commit
#p.s. it will open your $EDITOR to edit the comment for the commit
#to verify that it worked you can use the built-in UI
fossil ui myproject.FOSSIL
that is it for now, perhaps someone can chime in on committing changes or hosting on chiselapp.com (its documentation is sparse) _________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum