Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-29 Thread Ron Georgia
Stephen,
Thank you this info. This helps a lot. 

Ron Georgia
John 13:23
Sent from my iPad (cool)

On Oct 28, 2011, at 7:31 AM, Stephan Beal  wrote:

> On Fri, Oct 28, 2011 at 1:14 PM, Dmitry Chestnykh  
> wrote:
> Make sure you don't have uncommited changes.
> 
> fossil close
> fossil open new/path/to/your/repository
> 
> Or if you DO have uncommitted changes you can also try:
> 
>   rm _FOSSIL_
>   fossil open /new/path/... --keep
> 
> --keep tells the open command not to overwrite any same-named files which 
> exist in both the local filesystem and the repo.
> 
> -- 
> - stephan beal
> http://wanderinghorse.net/home/stephan/
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-29 Thread David Baxendale (GMail - Singapore)

Everyone,

Thank you, everything is back to the way it should be. ;-)

Concerning the "test-move-repository" I had wished I knew about that 
before, may be the command should be called "path" instead, which sounds 
less scary and more obvious of the commands intention.

--


Regards,



David Baxendale

 




___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Stephan Beal
On Fri, Oct 28, 2011 at 6:21 PM, Stephan Beal  wrote:

> LOL: no matter what order the COMMAND lines are in, help still shows
> test-move-repository:
>

Doh, of course it does because it's hard-coded:

** COMMAND: switch
** COMMAND: test-move-repository
**
** Usage: %fossil test-move-repository PATHNAME
**

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Stephan Beal
On Fri, Oct 28, 2011 at 6:05 PM, Brian Smith  wrote:

> There's a "test-move-repository" command that does just this.
> Perhaps it should be promoted to a proper command.
>

All you have to do to enable that is add this line:

---> ** COMMAND: switch
** COMMAND: test-move-repository

LOL: no matter what order the COMMAND lines are in, help still shows
test-move-repository:

[stephan@cheyenne:~/cvs/fossil/fossil]$ ./fossil help switch
Usage: ./fossil test-move-repository PATHNAME

Change the location of the repository database on a local check-out.
Use this command to avoid having to close and reopen a checkout
when relocating the repository database.




-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Brian Smith
There's a "test-move-repository" command that does just this.
Perhaps it should be promoted to a proper command.
On Oct 28, 2011 8:49 AM, "Konstantin Khomoutov" <
flatw...@users.sourceforge.net> wrote:

> On Fri, 28 Oct 2011 07:00:41 -0700
> Matt Welland  wrote:
>
> > I usually open the _FOSSIL_ file with sqlite3 and update the pointer
> > to the repo db. A "repodb reset" command or some such would be nice
> > to have.
> fossil switch NEW_LOCATION
>
> That would make Subversion users feel at home.
> Though I personally like the name "retarget" or "rebind".
> "reset" sounds a bit too scary.
>
> 
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Konstantin Khomoutov
On Fri, 28 Oct 2011 07:00:41 -0700
Matt Welland  wrote:

> I usually open the _FOSSIL_ file with sqlite3 and update the pointer
> to the repo db. A "repodb reset" command or some such would be nice
> to have.
fossil switch NEW_LOCATION

That would make Subversion users feel at home.
Though I personally like the name "retarget" or "rebind".
"reset" sounds a bit too scary.


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread LluĂ­s Batlle i Rossell
On Fri, Oct 28, 2011 at 07:00:41AM -0700, Matt Welland wrote:
> I usually open the _FOSSIL_ file with sqlite3 and update the pointer to the
> repo db. A "repodb reset" command or some such would be nice to have.
> 
> matt@hermes> sqlite3
> _FOSSIL_
> ~/data/opensrc
> SQLite version 3.7.5
> Enter ".help" for instructions
> Enter SQL statements terminated with a ";"
> sqlite> update vvar set value='/home/matt/fossils/mattsmisc.fossil' where
> name='repository';

Ah, that would be nice for a command, yes. I've found myself painfully closing
and opening checkouts, while I'd better have used this.

> On Fri, Oct 28, 2011 at 5:36 AM, Konstantin Khomoutov <
> flatw...@users.sourceforge.net> wrote:
> 
> > On Fri, 28 Oct 2011 13:56:21 +0200
> > Stephan Beal  wrote:
> >
> > > > > Or if you DO have uncommitted changes you can also try:
> > > > >
> > > > >   rm _FOSSIL_
> > > >
> > > > Dangerous if you have stashed changes ;-)
> > >
> > >
> > > Aha - THAT explains why i lost my stash the last time i did
> > > that ... ;)
> >
> > For the record (more for the original poster to read), these things
> > are documented in [1].
> >
> > 1. http://www.sqlite.org/debug1/doc/trunk/www/tech_overview.wiki
> > ___
> > fossil-users mailing list
> > fossil-users@lists.fossil-scm.org
> > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> >

> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Matt Welland
I usually open the _FOSSIL_ file with sqlite3 and update the pointer to the
repo db. A "repodb reset" command or some such would be nice to have.

matt@hermes> sqlite3
_FOSSIL_
~/data/opensrc
SQLite version 3.7.5
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> update vvar set value='/home/matt/fossils/mattsmisc.fossil' where
name='repository';


On Fri, Oct 28, 2011 at 5:36 AM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:

> On Fri, 28 Oct 2011 13:56:21 +0200
> Stephan Beal  wrote:
>
> > > > Or if you DO have uncommitted changes you can also try:
> > > >
> > > >   rm _FOSSIL_
> > >
> > > Dangerous if you have stashed changes ;-)
> >
> >
> > Aha - THAT explains why i lost my stash the last time i did
> > that ... ;)
>
> For the record (more for the original poster to read), these things
> are documented in [1].
>
> 1. http://www.sqlite.org/debug1/doc/trunk/www/tech_overview.wiki
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Konstantin Khomoutov
On Fri, 28 Oct 2011 13:56:21 +0200
Stephan Beal  wrote:

> > > Or if you DO have uncommitted changes you can also try:
> > >
> > >   rm _FOSSIL_
> >
> > Dangerous if you have stashed changes ;-)
> 
> 
> Aha - THAT explains why i lost my stash the last time i did
> that ... ;)

For the record (more for the original poster to read), these things
are documented in [1].

1. http://www.sqlite.org/debug1/doc/trunk/www/tech_overview.wiki
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Stephan Beal
On Fri, Oct 28, 2011 at 1:33 PM, Dmitry Chestnykh
wrote:

> On Fri, 28 Oct 2011 13:31:47 +0200 Stephan Beal 
> wrote:
>
> > Or if you DO have uncommitted changes you can also try:
> >
> >   rm _FOSSIL_
>
> Dangerous if you have stashed changes ;-)


Aha - THAT explains why i lost my stash the last time i did that ... ;)

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Dmitry Chestnykh
On Fri, 28 Oct 2011 13:31:47 +0200 Stephan Beal 
wrote:

> Or if you DO have uncommitted changes you can also try:
> 
>   rm _FOSSIL_

Dangerous if you have stashed changes ;-)

-- 
Dmitry Chestnykh
http://www.codingrobots.com
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Stephan Beal
On Fri, Oct 28, 2011 at 1:14 PM, Dmitry Chestnykh
wrote:

> Make sure you don't have uncommited changes.
>
> fossil close
> fossil open new/path/to/your/repository
>

Or if you DO have uncommitted changes you can also try:

  rm _FOSSIL_
  fossil open /new/path/... --keep

--keep tells the open command not to overwrite any same-named files which
exist in both the local filesystem and the repo.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread Dmitry Chestnykh
On Fri, 28 Oct 2011 18:49:56 +0800 "David Baxendale (GMail -
Singapore)"  wrote:

> I have recently moved all my files to a new machine and the directory 
> structure is slightly different under Windows 7. Now when I execute a 
> fossil status command, fossil reports the repository does not exist
> or is in an unreadable directory, followed by the old directory name.
> 
> How do I fix this?

Make sure you don't have uncommited changes.

fossil close
fossil open new/path/to/your/repository

-- 
Dmitry Chestnykh
http://www.codingrobots.com
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Fossil Repository Does Not Exist Error

2011-10-28 Thread David Baxendale (GMail - Singapore)
I have recently moved all my files to a new machine and the directory 
structure is slightly different under Windows 7. Now when I execute a 
fossil status command, fossil reports the repository does not exist or 
is in an unreadable directory, followed by the old directory name.


How do I fix this?
--


Regards,



David Baxendale
Email: david.baxend...@gmail.com
 




___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users