Re: [fossil-users] Adding binary files to fossil
I added my binary files. Did not get any warning. Should I get a warning if fossil detects that a file is binary? Alloptions are the default except for the skin (I like the Blitz no logo skin). The files are partial text with a bunch of embedded binary control codes. Should I force fossil to recognize a file as being binary (How to do that?)? On a separate topic: How do I change a previously added file into an unversioned file? I cannot seem to find a command that does that. Regarding unversioned files. I am a bit unclear how they are handled. Usually those files do not change (they are specific to the hardware), but they might if the hardware is modified. From what I read, an unversioned file will be replaced by a newer version and the older version disappears. Correct? As a side note, I am starting to get the hang of using fossil. The ticket/wiki/tech note system is very handy for tracking issues, to-do's, and documenting the how-to instructions during development. Much better than any other program I tried including Git, Subversion, and Mercurial. (I really hate Git). - Scott Doctor sc...@scottdoctor.com - ___ 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] Adding binary files to fossil
On 01/03/2017 01:25 PM, Richard Hipp wrote: > I have entire projects consisting of *only* binary files - for example > my collection of OpenOffice presentations. Actually you can use the flat XML representation (simply by using the .fodt/fodp/fods extension when saving), which turns them into (quite large) text files, more amenable to merging. Best, Eduard ___ 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] Adding binary files to fossil
On 1/3/17, Martin S. Weberwrote: > On 2017-01-03 10:08:40, Scott Doctor wrote: >> What is the proper way to add binary files to a repository? > > Follow the following steps: > > (1) (fossil) add the files. > (2) you're done. > (3) No, really, you're done. > (4) Enjoy. As just one of many examples, https://www.fossil-scm.org/fossil/artifact/0fa38d60655faf3d in Fossil's self-hosting repository is a binary file. There are many others. I have entire projects consisting of *only* binary files - for example my collection of OpenOffice presentations. The only restriction with binary files is that if you make independent changes in separate branches, those changes cannot be merged. > > fossil will warn you that these files look binary. Read the warning > and answer accordingly. > > With fossil settings you can specify the binary-glob which will allow > you to circumvent the warning. > > With versioned settings (create a .fossil-settings directory in your > top-level checkout directory and create a, say, binary-glob file in > it which contains a comma-or-newline separated list of glob patterns > describing your binaries) you can make sure this setting propagates > properly to other clones. > > cf. (4) above > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- 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] Adding binary files to fossil
On 2017-01-03 10:08:40, Scott Doctor wrote: > What is the proper way to add binary files to a repository? Follow the following steps: (1) (fossil) add the files. (2) you're done. (3) No, really, you're done. (4) Enjoy. fossil will warn you that these files look binary. Read the warning and answer accordingly. With fossil settings you can specify the binary-glob which will allow you to circumvent the warning. With versioned settings (create a .fossil-settings directory in your top-level checkout directory and create a, say, binary-glob file in it which contains a comma-or-newline separated list of glob patterns describing your binaries) you can make sure this setting propagates properly to other clones. cf. (4) above ___ 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] Adding binary files to fossil
On Tue, Jan 03, 2017 at 10:08:40AM -0800, Scott Doctor wrote: > I have a repository with typical C source text files (about 100 > files across several sub-folders). There are a few binary files that > are needed to compile and use the program. The files are part of the > program, but the contents need to stay as-is binary. What is the > proper way to add binary files to a repository? I want the others to > be able to simply unzip and have the full set of files without > having to do a separate download and unzip for the binaries. > There's nothing special to do, the binary files will always stay "as-is" like regular text files. I often have some small binary "resources" files in my repositories and I never had problem with them. If they are not too big and doesn't change often, the size and speed of the repository should not be affected. Regards, -- Martin G. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Adding binary files to fossil
I have a repository with typical C source text files (about 100 files across several sub-folders). There are a few binary files that are needed to compile and use the program. The files are part of the program, but the contents need to stay as-is binary. What is the proper way to add binary files to a repository? I want the others to be able to simply unzip and have the full set of files without having to do a separate download and unzip for the binaries. -- - Scott Doctor sc...@scottdoctor.com - ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users