View Ticket
Not logged in
Ticket UUID: 5f2f147f7efb71ae9778ab32aecbea99bec95958
Title: Fossil forgets about executable bit when switching branches
Status: Closed Type: Code_Defect
Severity: Severe Priority:
Subsystem: Resolution: Duplicate
Last Modified: 2011-02-27 20:41:57
Version Found In: 79b7902cdd
Description & Comments:
After a fresh checkout the executable bit is correctly recorded on files:
$ ls -l unix/configure
-rwxr-xr-x 1 rkeene users 581812 2011-02-26 22:37 unix/configure*
$ fossil artifact 92caef797a838cf20af94cff7aea871580641c72 | grep unix/configure
F unix/configure 35a077913fa8a27b6bdccf51ceb5999e3349f969 x
$

However, after updating to a tag that lacks the file, and then updating to a tag that includes it the executable bit is missing:

$ fossil update core-8-0-2
...
updated-to:   8ff5cdf418c32c02df18d1b756c3798fdc4de809 1998-04-29 17:09:47 UTC
$ ls -l unix/configure
ls: cannot access unix/configure: No such file or directory
$ fossil update core-8-5-9
...
updated-to:   7f1e1062ab6ea6810f9a764eab2702dde64680b3 2010-09-08 17:38:32 UTC
$ ls -l unix/configure
-rw-r--r-- 1 rkeene users 569172 2011-02-27 13:34 unix/configure
$ fossil artifact 7f1e1062ab6ea6810f9a764eab2702dde64680b3 
B 48191d397923759727b3231e19160d0d74bb722e
...
$ fossil artifact 48191d397923759727b3231e19160d0d74bb722e | grep unix/configure
F unix/configure 59a07ca641234778de582ca96b0296967f04ddf2 x

anonymous added on 2011-02-27 20:41:34 UTC:
Duplicate of [baf9b6b11e], closing.