Thus said Baruch Burstein on Sun, 27 Jul 2014 23:31:17 +0300:

> When  cloning a  repository, if  I  don't have  write privileges,  can
> autosync by  default be  set to  "pullonly" in  the clone,  to prevent
> annoying "pull only - not authorized to push"?

Are you suggesting that the clone detect whether or not the account used
has  write privileges  and  then automatically  enable the  ``pullonly''
autosync setting?  Or simply to  have a way  to turn on  ``pullonly'' at
clone time?

By the way, you can turn it on for all of your clones:

fossil settings --global autosync pullonly

> Maybe  this  should be  the  default  always,  even  if I  have  write
> permission, in order to prevent accidental pushes?

I believe  changing the default for  autosync in Fossl would  go against
the general  preference (and I  suspect intentional design  decision) to
minimize unintentional forks.

As I  mentioned above,  it can  be enabled  by default  for all  of your
projects with:

fossil settings --global autosync pullonly

Andy
-- 
TAI64 timestamp: 4000000053d702b6


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to