Jiří Navrátil <j...@...> writes:

> 
> Thank you for advice.
> 
> I didn't used branches so far. Could you look bellow and help me concrete
implementation?
> 
...

I've done the following to simulate the branches:
1. create a dummy binary file f.exe
2. adding and commiting to fossil using
  fossil add f.exe
  fossil commit f.exe -m ...
3. changing the file to a windows version and creating a windows branch with
  fossil commit f.exe -f -m "tag to branch win" --branch windows
4. updating to trunk:
  fossil update trunk
5. changing the file to a max binary and commiting on a mac branch
  fossil commit f.exe --force -m "tag to branch mac" --branch mac

From now on, i can change between versions by updating the single file to the
corresponding branches:
  fossil update windows
  ..

If i want to change a file on a branch, i have to do:
1. update to the branch
  fossil update macos f.exe
2. change the file to next version
3. commit it simply with commit,
  fossil commit -m "mac v2"

you can the results of this on
  http://chiselapp.com/user/wst/repository/import-vendor-test/

best regards
Wolfgang 




_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to