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: <unnamed>
> 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

Reply via email to