[fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Stephan Beal
Hello, fellow fossilers, A few minutes ago i made a horrible mistake in a fossil repo and felt compelled to post a minor warning/gotcha for other developers out there. The solution to the mistake also points out a nice side-effect of the single-file _FOSSIL_ metadata approach (as opposed to using

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread altufaltu
Single fossil.exe, single repository.fossil and single _FOSSIL_. That's why I love fossil :) - Altu -Original Message- From: Stephan Beal sgb...@googlemail.com To: fossil-users fossil-users@lists.fossil-scm.org Sent: Thu, Dec 23, 2010 7:58 pm Subject: [fossil-users] An annecdote on

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Joshua Paine
On 12/23/2010 09:28 AM, Stephan Beal wrote: i was doing some old-school-style refactoring I have done this exact thing (except I used sed and ack instead of perl and find :-) in the last week. I just deleted my _FOSSIL_ file and re-opened the repo in the same dir. -- Joshua Paine

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Stephan Beal
On Thu, Dec 23, 2010 at 3:35 PM, Joshua Paine jos...@letterblock.comwrote: I have done this exact thing (except I used sed and ack instead of perl and find :-) in the last week. I just deleted my _FOSSIL_ file and re-opened the repo in the same dir. That was my first instinct, but i

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Kevin Greiner
On Thu, Dec 23, 2010 at 10:34 AM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Thu, Dec 23, 2010 at 10:30:53AM -0500, Richard Hipp wrote: On Thu, Dec 23, 2010 at 10:18 AM, Gour g...@atmarama.net wrote: On Thu, 23 Dec 2010 09:44:25 -0500 Richard == Richard Hipp wrote:

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Stephan Beal
On Thu, Dec 23, 2010 at 3:44 PM, Richard Hipp d...@sqlite.org wrote: For a long time now, Fossil has accepted two possible names for the check-out database: _FOSSIL_ or .fos. You can see this by doing: i didn't know that, but the _FOSSIL_ file has never given me any problems, so i always

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Stephan Beal
On Thu, Dec 23, 2010 at 5:49 PM, Stephan Beal sgb...@googlemail.com wrote: Again, i don't consider this to be a fossil problem, but stupid user error. Another point: this problem was a side-effect of my own personal workflow, using an operation which has obvious risks of making unwanted

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Joshua Paine
ack in default mode ignores both _FOSSIL_ and .fos. ack -u searches both, so changing it wouldn't have helped me either -- Joshua Paine LetterBlock: Web applications built with joy http://letterblock.com/ 301-576-1920 ___ fossil-users mailing list

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread Stephan Beal
On Thu, Dec 23, 2010 at 4:30 PM, Richard Hipp d...@sqlite.org wrote: That was my concern too. So maybe I make .fos the default on unix and _FOSSIL_ the default on windows? That might break some forms of automation, like cygwin makefiles which want to use or ignore that file, or scripts

Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo

2010-12-23 Thread altufaltu
You can use eclipse IDE to refactor C code. -Original Message- From: Stephan Beal sgb...@googlemail.com To: fossil-users@lists.fossil-scm.org Sent: Thu, Dec 23, 2010 10:24 pm Subject: Re: [fossil-users] An annecdote on screwing up (and recovering) a broken fossil repo On Thu, Dec 23,