Re: [fossil-users] git equivalent commands

2011-03-12 Thread Richard Hipp
On Sat, Mar 12, 2011 at 11:33 AM, Joshua Paine wrote: > > I think is interesting to know how to rollback a commit. I'm used to just > add a new commit removing the changes. That way we keep the history (made a > mistake, fixed the mistake) > > ... another option is to make the mistaken commit the

Re: [fossil-users] git equivalent commands

2011-03-12 Thread Joshua Paine
On Mar 12, 2011, at 10:57 AM, "Federico Ramallo" wrote: > we are trying to work the fossil way considering our workflow. So we are > learning. > I just added the git commands to easily explain the actions we are trying to > run, It's all good. Since many of us are familiar with git, too, it's a

Re: [fossil-users] git equivalent commands

2011-03-12 Thread Federico Ramallo
Awesome! I'll check it out! :D 2011/3/12 Joerg Sonnenberger > On Sat, Mar 12, 2011 at 09:57:25AM -0600, Federico Ramallo wrote: > > Also, What we couldn't find out is how to delete a branch (or at least > close > > it) > > Use the web ui. You can mark a branch leaf as closed and you can also >

Re: [fossil-users] git equivalent commands

2011-03-12 Thread Joerg Sonnenberger
On Sat, Mar 12, 2011 at 09:57:25AM -0600, Federico Ramallo wrote: > Also, What we couldn't find out is how to delete a branch (or at least close > it) Use the web ui. You can mark a branch leaf as closed and you can also move commits to different branches / change the tags etc. Joerg

Re: [fossil-users] git equivalent commands

2011-03-12 Thread Federico Ramallo
Thanks for your feedback! fossil revert worked as expected! Also fossil "checkout -f " worked too, but usually you don't want to change the branch, just remove the changes. I don't except to have all the features of git, since there are a lot of different concepts going on with fossil. We are usi

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Mark Janssen
2011/3/11 Lluís Batlle i Rossell > On Fri, Mar 11, 2011 at 06:58:59PM -, Eric wrote: > > > > On Fri, March 11, 2011 7:27 am, Federico Ramallo wrote: > > > Hi, > > > > > > I was wondering how to do git reset --hard on a fossil repository. > Because > > > fossil clean only clear extra files, bu

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Lluís Batlle i Rossell
On Fri, Mar 11, 2011 at 06:58:59PM -, Eric wrote: > > On Fri, March 11, 2011 7:27 am, Federico Ramallo wrote: > > Hi, > > > > I was wondering how to do git reset --hard on a fossil repository. Because > > fossil clean only clear extra files, but what about changed files? 'fossil revert' may b

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Eric
On Fri, March 11, 2011 7:27 am, Federico Ramallo wrote: > Hi, > > I was wondering how to do git reset --hard on a fossil repository. Because > fossil clean only clear extra files, but what about changed files? Fossil isn't git, why should it have an exact equivalent of a git command? work out why

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Antoine Chavasse
On Fri, Mar 11, 2011 at 2:01 PM, Twylite wrote: > On 09:59 PM, a.chava...@gmail.com wrote: >> >> Another option that fossil offers is to move an unwanted commit away >> to a new different branch after the fact (that you'd typically name >> "mistake"), which provides the equivalent functionality of

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Twylite
On 09:59 PM, a.chava...@gmail.com wrote: > > Another option that fossil offers is to move an unwanted commit away > to a new different branch after the fact (that you'd typically name > "mistake"), which provides the equivalent functionality of a rollback > except for the fact that it is still v

Re: [fossil-users] git equivalent commands

2011-03-11 Thread a . chavasse
On Mar 11, 2011 11:21am, Mike Meyer wrote: And the "rollback" question is sorta odd. You can delete things from fossil, by shunning them then rebuilding (?) the repo. However, there's still a record of it in the shun list, and possibly elsewhere. I'd say that "no" here is at least as

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Mike Meyer
On Fri, 11 Mar 2011 19:40:03 +1000 Steve Dalton wrote: > Should things like "lock" and "rebase" be "no" as apposed to > "Unknown"? I understand rebase is something that can't be done in > Fossil due to "fossilizing" the history right? I'm also certain fossil > doesn't support locking, right? :)

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Steve Dalton
Should things like "lock" and "rebase" be "no" as apposed to "Unknown"? I understand rebase is something that can't be done in Fossil due to "fossilizing" the history right? I'm also certain fossil doesn't support locking, right? :) Also - does Fossil support Unicode filenames? Happy to update th

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Steve Dalton
Looks like someone just added it... good job. On Fri, Mar 11, 2011 at 7:11 PM, Mike Meyer wrote: > On Fri, 11 Mar 2011 18:53:55 +1000 > Steve Dalton wrote: > >> Maybe we should start a comparison table on the wiki >> svn/git/mercurial/fossil equivalent commands > > http://en.wikipedia.or

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Mike Meyer
On Fri, 11 Mar 2011 18:53:55 +1000 Steve Dalton wrote: > Maybe we should start a comparison table on the wiki > svn/git/mercurial/fossil equivalent commands http://en.wikipedia.org/wiki/Comparison_of_revision_control_software#Basic_Commands Though it doesn't cover the command in questio

Re: [fossil-users] git equivalent commands

2011-03-11 Thread Steve Dalton
Maybe we should start a comparison table on the wiki svn/git/mercurial/fossil equivalent commands Steve On Fri, Mar 11, 2011 at 5:41 PM, Konstantin Khomoutov wrote: > On Fri, Mar 11, 2011 at 01:27:39AM -0600, Federico Ramallo wrote: > >> I was wondering how to do git reset --hard on a fo

Re: [fossil-users] git equivalent commands

2011-03-10 Thread Konstantin Khomoutov
On Fri, Mar 11, 2011 at 01:27:39AM -0600, Federico Ramallo wrote: > I was wondering how to do git reset --hard on a fossil repository. Because > fossil clean only clear extra files, but what about changed files? Possibly you need `fossil revert`. ___ fo

[fossil-users] git equivalent commands

2011-03-10 Thread Federico Ramallo
Hi, I was wondering how to do git reset --hard on a fossil repository. Because fossil clean only clear extra files, but what about changed files? Also I was wondering about git grep, there is any plan on implementing the command? I think is really really usefull Also Today we found a bug on foss