Re: [fossil-users] Quotes

2016-05-19 Thread Andy Bradford
Thus said Richie Adler on Thu, 19 May 2016 18:29:38 -0300:

> You don't  need to drill  your own head to  know that the  practice is
> deadly :)

Is it?

https://en.wikipedia.org/wiki/Trepanning

Andy
-- 
TAI64 timestamp: 4000573ea047


___
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] Automatic Ticket-commit tagging

2016-05-19 Thread Ron W
On Wed, May 18, 2016 at 2:12 PM, Steve Schow  wrote:
>
> I’m going to try to make some kind of wrapper script to my commit command
> that can do this for me, but before I embark I am wondering if anyone has
> thought of any good ways to do this, perhaps using TH1 in the repo or
> something….or perhaps using the checkout DB in some way to keep track of
> what the current ticket is.
>

While TH1 has a query function to process SQL expressions in a TH1 script,
only the ticket hook script would be able to access the check out DB an
donly when triggered by a "fossil ticket" command line command. Even then,
I don't know if you'd have access to the check out DB.

A wrapper script might be able to use "fossil sql" command line commands to
store and retrieve info in the check out DB. I've never tried it.

The SQLite project has a command line client that could be used to store
and retrieve info in the check out DB.

My personal solution to this is to set the Fossil "editor" option to run a
script that launches my preferred text editor with the previous commit
message preloaded. Then I just edit what needs to be edited, save and quite
the editor. Then the script copies the message to the temporary file
supplied by Fossil.
___
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] Quotes

2016-05-19 Thread sky5walk
Fossil is a gem and should not be dismissed or ignored simply because the
masses choose git. In fact, I often find the most elegant solutions in the
extremes.

On Thu, May 19, 2016 at 5:29 PM, Richie Adler  wrote:

> > Not sure it's fair to include my quote when I've never once actually used
> > git, but I appreciate your vote.
>
> You don't need to drill your own head to know that the practice is deadly
> :)
>
> ___
> 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] unable to move file

2016-05-19 Thread Warren Young
On May 19, 2016, at 11:51 AM, Steve Schow  wrote:
> 
> right, so how do i move a file in the repo from its existing location to a 
> new subdir that doesn’t exist in the repo yet?

I see that you’ve fixed your immediate problem, but I still wanted to address 
this question.  It’s based on a continuing misapprehension that you have to 
tell Fossil about directories.

Try this:

  $ cd ~/some/fossil/checkout
  $ mkdir foo
  $ touch foo/bar
  $ fossil add foo/bar
  $ fossil ci

It will check in, and Fossil never had to be told about “foo” explicitly.

“foo” only exists within Fossil because “bar” exists.  If you remove “bar” and 
check in again, Fossil won’t know anything about “foo”.
___
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] Quotes

2016-05-19 Thread Richie Adler
> Not sure it's fair to include my quote when I've never once actually used
> git, but I appreciate your vote.

You don't need to drill your own head to know that the practice is deadly :)

___
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] unable to move file

2016-05-19 Thread Steve Schow
I don’t know…it works now.. I don’t know what I was doing wrong before.  

Thanks!

On May 19, 2016, at 11:58 AM, dewey.hyl...@gmail.com wrote:

> what version of fossil are you using? 
> 
> this seems to work fine for me, even when only specifying a destination 
> directory without the filename:
> 
> [0] [dewey@macchiato:~] $ fossil version
> This is fossil version 1.34 [62dcb00e68] 2015-11-02 17:35:44 UTC
> 
> [0] [dewey@macchiato:~] $ mkdir -p footest/foo/some/new/directory
> 
> [0] [dewey@macchiato:~] $ fossil init footest/foo.fossil
> project-id: 0e8d0df2a808e05f5aaff16e8c16b2ed8715ce6f
> server-id:  26d036be1a4ccbeb29af8c71a27448ec8e7a77b7
> admin-user: dewey (initial password is "d62c07")
> 
> [0] [dewey@macchiato:~] $ cd footest/foo
> 
> [0] [dewey@macchiato:~/footest/foo] $ fossil open ../foo.fossil
> project-name: 
> repository:   /Users/dewey/footest/foo/../foo.fossil
> local-root:   /Users/dewey/footest/foo/
> config-db:/Users/dewey/.fossil
> project-code: 0e8d0df2a808e05f5aaff16e8c16b2ed8715ce6f
> checkout: 167ced8c5e85f6bfa703247bc96596f66021ed6c 2016-05-19 17:48:53 UTC
> tags: trunk
> comment:  initial empty check-in (user: dewey)
> check-ins:1
> 
> [0] [dewey@macchiato:~/footest/foo] $ echo here is a file > file.txt
> 
> [0] [dewey@macchiato:~/footest/foo] $ fossil add file.txt
> ADDED  file.txt
> 
> [0] [dewey@macchiato:~/footest/foo] $ fossil commit -m '+file.txt'
> New_Version: 348b7e01f88d636ad7c304d3d349d234ef6ad94c
> 
> [0] [dewey@macchiato:~/footest/foo] $ fossil mv file.txt 
> some/new/directory/file.txt
> RENAME file.txt some/new/directory/file.txt
> 
> [0] [dewey@macchiato:~/footest/foo] $ mv file.txt 
> some/new/directory/file.txt
> 
> [0] [dewey@macchiato:~/footest/foo] $ fossil commit -m 'mv file.txt'
> New_Version: 9050a79bffef0eb64d1d7d72de87fc2acfb745ce
> 
> [0] [dewey@macchiato:~/footest/foo] $ mkdir -p some/other/new/directory
> 
> [0] [dewey@macchiato:~/footest/foo] $ fossil mv 
> some/new/directory/file.txt some/other/new/directory/
> RENAME some/new/directory/file.txt some/other/new/directory/file.txt
> 
> - On May 19, 2016, at 12:45 PM, Steve Schow st...@bstage.com wrote:
> 
>> I am having a little problem with one thing in fossil, what am I doing wrong.
>> 
>> I have file:
>> 
>>/foo/bar/is/here
>> 
>> I want to relocate in the repository src try to:
>> 
>>   /foo/totally/new/location/here
>> 
>> /foo is the root of the checkout workspace.
>> 
>> the path /foo/totally/new/location/  doesn’t exist in the repo yet as there 
>> are
>> no other files checked in there.
>> 
>> When I try to use:
>> 
>>   fossil mv /foo/bar/is/here /foo/totally/new/location/here
>> 
>> I get an error:
>> 
>>  file outside of checkout tree: /foo/totally/new/location/here
>> 
>> 
>> I’m presuming this is because fossil only adds files, not dirs…and since 
>> there
>> are no files yet that deep, fossil doesnt know about the dir I want to put it
>> in.  I have already created the folder in the checkout workspace to move the
>> actual file to it…  And I did try to move the actual file there first
>> too…didn’t make any difference.
>> 
>> how do I do this?
>> 
>> 
>> 
>> ___
>> 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] unable to move file

2016-05-19 Thread dewey.hyl...@gmail.com
what version of fossil are you using? 

this seems to work fine for me, even when only specifying a destination 
directory without the filename:

[0] [dewey@macchiato:~] $ fossil version
This is fossil version 1.34 [62dcb00e68] 2015-11-02 17:35:44 UTC

[0] [dewey@macchiato:~] $ mkdir -p footest/foo/some/new/directory

[0] [dewey@macchiato:~] $ fossil init footest/foo.fossil
project-id: 0e8d0df2a808e05f5aaff16e8c16b2ed8715ce6f
server-id:  26d036be1a4ccbeb29af8c71a27448ec8e7a77b7
admin-user: dewey (initial password is "d62c07")

[0] [dewey@macchiato:~] $ cd footest/foo

[0] [dewey@macchiato:~/footest/foo] $ fossil open ../foo.fossil
project-name: 
repository:   /Users/dewey/footest/foo/../foo.fossil
local-root:   /Users/dewey/footest/foo/
config-db:/Users/dewey/.fossil
project-code: 0e8d0df2a808e05f5aaff16e8c16b2ed8715ce6f
checkout: 167ced8c5e85f6bfa703247bc96596f66021ed6c 2016-05-19 17:48:53 UTC
tags: trunk
comment:  initial empty check-in (user: dewey)
check-ins:1

[0] [dewey@macchiato:~/footest/foo] $ echo here is a file > file.txt

[0] [dewey@macchiato:~/footest/foo] $ fossil add file.txt
ADDED  file.txt

[0] [dewey@macchiato:~/footest/foo] $ fossil commit -m '+file.txt'
New_Version: 348b7e01f88d636ad7c304d3d349d234ef6ad94c

[0] [dewey@macchiato:~/footest/foo] $ fossil mv file.txt 
some/new/directory/file.txt
RENAME file.txt some/new/directory/file.txt

[0] [dewey@macchiato:~/footest/foo] $ mv file.txt 
some/new/directory/file.txt

[0] [dewey@macchiato:~/footest/foo] $ fossil commit -m 'mv file.txt'
New_Version: 9050a79bffef0eb64d1d7d72de87fc2acfb745ce

[0] [dewey@macchiato:~/footest/foo] $ mkdir -p some/other/new/directory

[0] [dewey@macchiato:~/footest/foo] $ fossil mv some/new/directory/file.txt 
some/other/new/directory/
RENAME some/new/directory/file.txt some/other/new/directory/file.txt

- On May 19, 2016, at 12:45 PM, Steve Schow st...@bstage.com wrote:

> I am having a little problem with one thing in fossil, what am I doing wrong.
> 
> I have file:
> 
> /foo/bar/is/here
> 
> I want to relocate in the repository src try to:
> 
>/foo/totally/new/location/here
> 
> /foo is the root of the checkout workspace.
> 
> the path /foo/totally/new/location/  doesn’t exist in the repo yet as there 
> are
> no other files checked in there.
> 
> When I try to use:
> 
>fossil mv /foo/bar/is/here /foo/totally/new/location/here
> 
> I get an error:
> 
>   file outside of checkout tree: /foo/totally/new/location/here
> 
> 
> I’m presuming this is because fossil only adds files, not dirs…and since there
> are no files yet that deep, fossil doesnt know about the dir I want to put it
> in.  I have already created the folder in the checkout workspace to move the
> actual file to it…  And I did try to move the actual file there first
> too…didn’t make any difference.
> 
> how do I do this?
> 
> 
> 
> ___
> 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] unable to move file

2016-05-19 Thread Steve Schow
right, so how do i move a file in the repo from its existing location to a new 
subdir that doesn’t exist in the repo yet?

On May 19, 2016, at 11:47 AM, Richard Hipp  wrote:

> On 5/19/16, Steve Schow  wrote:
>> I do not know how to checkin a dir to the repo without any files
> 
> You cannot.  Fossil only tracks files, not directories.
> 
> -- 
> D. Richard Hipp
> d...@sqlite.org
> ___
> 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] unable to move file

2016-05-19 Thread Richard Hipp
On 5/19/16, Steve Schow  wrote:
> I do not know how to checkin a dir to the repo without any files

You cannot.  Fossil only tracks files, not directories.

-- 
D. Richard Hipp
d...@sqlite.org
___
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] unable to move file

2016-05-19 Thread Steve Schow
As i said, the directory is already made.  but its not in the repo since there 
are no files in it yet checked into the repo.

I do not know how to checkin a dir to the repo without any files


On May 19, 2016, at 11:29 AM, Andy Goth  wrote:

> What happens if you make the directory first?
> 
> On May 19, 2016 11:45, "Steve Schow"  wrote:
> I am having a little problem with one thing in fossil, what am I doing wrong.
> 
> I have file:
> 
>  /foo/bar/is/here
> 
> I want to relocate in the repository src try to:
> 
> /foo/totally/new/location/here
> 
> /foo is the root of the checkout workspace.
> 
> the path /foo/totally/new/location/  doesn’t exist in the repo yet as there 
> are no other files checked in there.
> 
> When I try to use:
> 
> fossil mv /foo/bar/is/here /foo/totally/new/location/here
> 
> I get an error:
> 
>file outside of checkout tree: /foo/totally/new/location/here
> 
> 
> I’m presuming this is because fossil only adds files, not dirs…and since 
> there are no files yet that deep, fossil doesnt know about the dir I want to 
> put it in.  I have already created the folder in the checkout workspace to 
> move the actual file to it…  And I did try to move the actual file there 
> first too…didn’t make any difference.
> 
> how do I do this?
> 
> 
> 
> ___
> 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] unable to move file

2016-05-19 Thread Andy Goth
What happens if you make the directory first?
On May 19, 2016 11:45, "Steve Schow"  wrote:

> I am having a little problem with one thing in fossil, what am I doing
> wrong.
>
> I have file:
>
>  /foo/bar/is/here
>
> I want to relocate in the repository src try to:
>
> /foo/totally/new/location/here
>
> /foo is the root of the checkout workspace.
>
> the path /foo/totally/new/location/  doesn’t exist in the repo yet as
> there are no other files checked in there.
>
> When I try to use:
>
> fossil mv /foo/bar/is/here /foo/totally/new/location/here
>
> I get an error:
>
>file outside of checkout tree: /foo/totally/new/location/here
>
>
> I’m presuming this is because fossil only adds files, not dirs…and since
> there are no files yet that deep, fossil doesnt know about the dir I want
> to put it in.  I have already created the folder in the checkout workspace
> to move the actual file to it…  And I did try to move the actual file there
> first too…didn’t make any difference.
>
> how do I do this?
>
>
>
> ___
> 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] unable to move file

2016-05-19 Thread Steve Schow
I am having a little problem with one thing in fossil, what am I doing wrong.

I have file:

 /foo/bar/is/here

I want to relocate in the repository src try to:

/foo/totally/new/location/here

/foo is the root of the checkout workspace.

the path /foo/totally/new/location/  doesn’t exist in the repo yet as there are 
no other files checked in there.

When I try to use:

fossil mv /foo/bar/is/here /foo/totally/new/location/here

I get an error:

   file outside of checkout tree: /foo/totally/new/location/here


I’m presuming this is because fossil only adds files, not dirs…and since there 
are no files yet that deep, fossil doesnt know about the dir I want to put it 
in.  I have already created the folder in the checkout workspace to move the 
actual file to it…  And I did try to move the actual file there first 
too…didn’t make any difference.

how do I do this?



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