Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 12:12
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Fossil basics: creating a local repository
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4380

PostPosted: 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)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0356s ][ Queries: 11 (0.0030s) ][ GZIP on ]