On Mon, Aug 31, 2009 at 12:21:40PM -0400, D. Richard Hipp wrote:
>
> On Aug 31, 2009, at 12:13 PM, Matthias Teege wrote:
>
> > Moin,
> >
> > if I clone a repository from a remote location, the remote one is used
> > as the default
> > upstream repository. It is the default repository for autosync. How do
> > I change the
> > default repository for autosync or push?
>
> The remote repository that Fossil remembers is the last one that you
> explicitly typed in. In your case, that is the URL you used to
> clone. If you type
>
> fossil sync ANOTHER-URL
> fossil push ANOTHER-URL
> fossil pull ANOTHER-URL
> fossil remote-url ANOTHER-URL
>
> Then the remote URL is changed and the new ANOTHER-URL is used for all
> subsequent operations for which you do not specify an explicit URL.
>
> This probably needs to be explained in the documentation. Can you
> suggest a place in the documentation where it would be appropriate to
> say the above?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The first thing I did when reading the original question was
fossil help settings
which is where I expected something similar to 'remote-url' to
be settable.
Where to document? I suggest an extra note in the 'help settings'
command or add a 'remote-url' to settings (keeping existing standalone
remote-url command for backwards compatibility).
~Michael
>
> D. Richard Hipp
> [email protected]
>
>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users