I am re-opening this because of two reasons:
(a) Being spammed with messages like this quickly gets boring. An
explicit location on the command line is ample evidence that the user
thinks that this is not the default repo. That means it makes more sense
to display a hint in case the given repo *is* the default repo:
> darcs push -a /path/to/default/repo
Pushed patches to default repo /path/to/default/repo
(User: okay, thanks for telling me, will leave it off next time)
> darcs push -a /path/to/some/other/repo
Pushed patches to specified repo
(User: fine, that worked)
> darcs push -a
Pushed patches to default repo /path/to/default/repo
(User: Ah, so this is where I have just pushed)
Extended hints are okay if --verbose is active.
(b) The currently displayed hint shows a weakness in the UI: the proper
way to set the default repo should be with darcs setpref defaultrepo.
The --set-default switch is okay as a shortcut but should not be the
only or preferred way.
|