Skip to content

cmirror: Allow explicit empty host #18

Merged
merged 1 commit into from
Oct 9, 2023
Merged

cmirror: Allow explicit empty host #18

merged 1 commit into from
Oct 9, 2023

Conversation

donald
Copy link
Contributor

@donald donald commented Oct 9, 2023

Currently, a local copy with a destination containing ":" doesn't work, because cmirror src /tmp/c:d would try to use "/tmp/c" as a hostname and cmirror src :/tmp/c:d would use ":/tmp/c:d" as a (local) destination.

Allow explicit empty hostname, so that the second form can be used to specify a local destination with ":" in the path.

Currently, a local copy with a destination containing ":" doesn't work,
because `cmirror src /tmp/c:d` would try to use "/tmp/c" as a
hostname and `cmirror src :/tmp/c:d` would use ":/tmp/c:d" as a
(local) destination.

Allow explicit empty hostname, so that the second form can be used to
specify a local destination with ":" in the path.
@donald donald merged commit 249d2af into main Oct 9, 2023
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants