On Jun 16, 2009, at 12:09 PM, Stephan Beal wrote:
> On Tue, Jun 16, 2009 at 5:25 PM, Doug Currie <[email protected]>
> wrote:
> Thanks, Kees.
>
> Since this value is used by auto-sync (I assume), it would be nice to
> have a more convenient way to see it, especially when working with a
> repository that's been sitting dormant a while.
>
> i would be happy to add a new command which simply runs the query
> Kees showed, providing:
Why not just add a line of output to "info"?
Be careful, though. The query shown by Kees is not sufficient. The
URL stored in the database might contain a username and password. The
"sync" command is careful to strip those off before displaying the
URL. If added to the "info" command, it should likewise hide at least
the password.
>
>
> a) Richard doesn't doesn't see it as feature bloat. (i also have
> often sought the URL but couldn't see it until doing "fossil pull".)
> b) we can agree on the command name. How about "fossil where"?
> "fossil url"?
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
>
>
> Your thoughts on (b)?
>
> --
> ----- 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
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users