The handling of --repo/--repodir is still rather messy.
In this case we use D.UI.Flags.getRepourl which returns Just only
if it is not a valid local path.
The following patch sent by Ben Franksen <ben.franksen@online.de> updated issue issue2404 with
status=resolved;resolvedin=2.15.0 HEAD
* resolve issue2404: darcs convert export ignores --repodir
Ignore-this: aebb7a36221c9dbd9d613adab4c9a4f5e30d75e9b8aeba02910d0b140492677c8bb1ea2e6dd63ca1
Calling getRepourl makes sense only if we actually allow the command to
operate on a remote repo (which this command never did). Furthermore, the
option was wrong: O.reponame is for cases where you create a new repo.
Instead O.repoDir must be used.