"darcs push" fails to expand tilde to full path to user home directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Darcs |
Unknown
|
Unknown
|
|||
darcs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: darcs
Version: 1.0.9rc1 (release candidate 1)
Distro: Ubuntu 7.10
Expected behaviour: Darcs "push" command to expand tilde to user's home directory.
Observed behaviour: Failure to expand tilde symbol correctly, although the repository does seem to be located.
When using "darcs push" to push a patch to a remote repository via SSH, darcs fails to expand the tilde symbol (~) to locate the user's home directory correctly. For example, a successful push looks like:
$ darcs push example.
Mon Feb 11 22:25:32 GMT 2008 tony@.....
* Using /proc/uptime and changing status messages to suit
Shall I push this patch? (1/1) [ynWvpxqadjk], or ? for help: y
Finished applying...
However, when using a tilde instead of the full path, the following happens:
$ darcs push example.
Pushing to "example.
Mon Feb 11 22:25:32 GMT 2008 tony@....
* Using /proc/uptime and changing status messages to suit
Shall I push this patch? (1/1) [ynWvpxqadjk], or ? for help: y
darcs failed: can't set directory to ~/public_
Obviously the expansion works correctly when copying files via SCP etc. For reference, when the target directory does not exist at all, one sees:
$ darcs push example.
Invalid repository: example.
darcs failed: (scp) failed to fetch: example.
Changed in darcs: | |
status: | Unknown → In Progress |
Changed in darcs: | |
status: | In Progress → Unknown |
Changed in darcs: | |
status: | New → Confirmed |
Thank you for your report. This bug is already being tracked upstream. You can follow its progress and make comments there.