Fossil SCM

Working copy breaks with long paths on Windows 7

Open

81b89131083cd01… · opened 11 years, 4 months ago

Type
Code_Defect
Priority
Severity
Severe
Resolution
Subsystem
Created
Dec. 1, 2014 7:32 p.m.

As discussed here: http://www.mail-archive.com/[email protected]/msg18203.html

-- The repository contains a directory "b" full of files, and a directory "a" containing about 256 nested directories, with a single file at the deepest point.

On Windows 7, if I'm at:

c:\cygwin64\home\someone\fossil\fossil-pathbug

(Don't let the name fool you, I'm using the latest fossil binary from fossil-scm.org and am running it under the ordinary cmd.exe, not cygwin).

... and I attempt to "open" the fossil-pathbug.fossil repository:

c:...\fossil-pathbug> fossil open ..\fossil-pathbug.fossil unable to create directory c:/cygwin64/home/someone/fossil/fossil-pathbug/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a...

(Extra 'a's omitted as cmd.exe doesn't seem to allow copying and pasting).

This would be fine, except that it seems like it leaves the working copy in some sort of inconsistent state: A listing of the directory shows no "b" directory, a "fossil stat" shows no missing files. None of the commands such as "fossil update" will check out the remaining files (the commands will silently return success, apparently).

I'm using fossil 1.29 from the site (3e5ebe2b90).

See attached repository.

Comments (1)

anonymous 11 years, 4 months ago

As discussed here: http://www.mail-archive.com/[email protected]/msg18203.html

-- The repository contains a directory "b" full of files, and a directory "a" containing about 256 nested directories, with a single file at the deepest point.

On Windows 7, if I'm at:

c:\cygwin64\home\someone\fossil\fossil-pathbug

(Don't let the name fool you, I'm using the latest fossil binary from fossil-scm.org and am running it under the ordinary cmd.exe, not cygwin).

... and I attempt to "open" the fossil-pathbug.fossil repository:

c:...\fossil-pathbug> fossil open ..\fossil-pathbug.fossil unable to create directory c:/cygwin64/home/someone/fossil/fossil-pathbug/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a...

(Extra 'a's omitted as cmd.exe doesn't seem to allow copying and pasting).

This would be fine, except that it seems like it leaves the working copy in some sort of inconsistent state: A listing of the directory shows no "b" directory, a "fossil stat" shows no missing files. None of the commands such as "fossil update" will check out the remaining files (the commands will silently return success, apparently).

I'm using fossil 1.29 from the site (3e5ebe2b90).

See attached repository.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button