Re: [fossil-users] Working with Windows mapped network drives

2015-03-09 Thread Tontyna
This has nothing to do with mapped drives. You'll get not found with 
any drive root -- C:\, D:\...


Fossil cuts off the trailing backslash with the result that stat() resp 
lstat() returns an error = not found.


I'm not shure whether and if yes in which function(s) -- 
file_canonical_name(), file_isdir(), file_wd_isdir(), 
file_simplify_name()... -- a 
'when-on-windows-and-path-length-is-2-and-starts-with-A..Z-and-ends-with-colon-the-add-slash' 
correction should be implemented.


Until your S:\-problem I didn't even think about putting a whole drive 
in one repository...


-Tontyna

Am 01.03.2015 um 10:57 schrieb Milo Rambaldi:

Hi,

I'm currently trying out fossil and ran into a problem using mapped
network drives.

In most tutorials I found on the net, the command used to add files to
the repository is add . which doesn't work on a network drive:

---snip---

C:\net use s: \\sandbox\htdocs
Der Befehl wurde erfolgreich ausgeführt.

S:\fossil new d:\test.repo
project-id: b0755e4c2a55d06275cc8158d4d10cbe386ff3a7
server-id:  0bedf33b9ddbdaa06d7157ef72c6d242f904979e
admin-user: milo (initial password is **)

S:\fossil open d:\test.repo
project-name: unnamed
repository:   d:\test.repo
local-root:   S:/
config-db:C:/Users/milo/AppData/Local/_fossil
project-code: b0755e4c2a55d06275cc8158d4d10cbe386ff3a7
checkins: 0

S:\fossil add .
not found: S:

S:\fossil add s:\
not found: S:

S:\fossil add s:/
not found: S:

---snip---

Is there any way to do this?

Thanks,
m.



___
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] Working with Windows mapped network drives

2015-03-01 Thread Milo Rambaldi
Hi,
I'm currently trying out fossil and ran into a problem using mapped network 
drives.
In most tutorials I found on the net, the command used to add files to the 
repository is add . which doesn't work on a network drive:
---snip---
C:\net use s: \\sandbox\htdocsDer Befehl wurde erfolgreich ausgeführt.
S:\fossil new d:\test.repoproject-id: 
b0755e4c2a55d06275cc8158d4d10cbe386ff3a7server-id:  
0bedf33b9ddbdaa06d7157ef72c6d242f904979eadmin-user: milo (initial password is 
**)
S:\fossil open d:\test.repoproject-name: unnamedrepository:   
d:\test.repolocal-root:   S:/config-db:
C:/Users/milo/AppData/Local/_fossilproject-code: 
b0755e4c2a55d06275cc8158d4d10cbe386ff3a7checkins: 0
S:\fossil add .not found: S:
S:\fossil add s:\not found: S:
S:\fossil add s:/not found: S:
---snip---
Is there any way to do this?
Thanks,m.
  ___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users