On Tue, Jun 16, 2009 at 6:25 PM, D. Richard Hipp <[email protected]> wrote:

> Why not just add a line of output to "info"?


That would, IMO, be the logical place for it.


> Other options:  "fossil sync-url", "fossil master", "fossil elder",
> "fossil remote", "fossil remote-url".
>
> One reason to have a separate command is so that you can change or
> remove the default remote-host.  How about:
>
>      fossil remote-url               # Display the currently saved
> URL (suppressing the password, of course)
>      fossil remote-url URL      # Change the currently saved URL
> without doing a sync, push, or pull
>      fossil remote-url off          # Remove the currently saved URL


If it is done this way, would it make sense to tie it in as a new setting?
e.g.

fossil set remote-url        # show
fossil set remote-url URL # set
fossil unset remote-url     # remove

:-?

Are there potential evil side-effects of doing this? If a user does "unset
remote-url", is that effectively the same as making the current checkout a
non-fossil tree (e.g. similar to "fossil close")?

The ability to set an arbitrary URL sounds dangerous to me. i could re-point
my arbitrary repo at another arbitrary repo, do a "pull" and then... well, i
have no idea what *should* happen then, actually.

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

Reply via email to