darcs

Issue 1317 Wrong completion in darcs mv when in subdirectory (bash)

Title Wrong completion in darcs mv when in subdirectory (bash)
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List btcoburn, darcs-devel, dmitry.kurochkin, kowey, marcot, thorkilnaur
Assigned To
Topics

Created on 2009-01-15.20:38:37 by marcot, last changed 2017-07-30.23:00:18 by gh.

Messages
msg7111 (view) Author: marcot Date: 2009-01-15.20:38:34
Steps to reproduce:

marcot@quindinho:~/Modelos/darcs$ mkdir teste
marcot@quindinho:~/Modelos/darcs$ cd teste/
marcot@quindinho:~/Modelos/darcs/teste$ darcs init
marcot@quindinho:~/Modelos/darcs/teste$ touch abcd
marcot@quindinho:~/Modelos/darcs/teste$ mkdir foo
marcot@quindinho:~/Modelos/darcs/teste$ darcs add foo
marcot@quindinho:~/Modelos/darcs/teste$ cd foo
marcot@quindinho:~/Modelos/darcs/teste/foo$ touch abcc
marcot@quindinho:~/Modelos/darcs/teste/foo$ mkdir bar
marcot@quindinho:~/Modelos/darcs/teste/foo$ darcs add bar
marcot@quindinho:~/Modelos/darcs/teste/foo$ darcs mv ab<TAB>

It'll complete abcd, while it should complete abcc.

Greetings.
msg7112 (view) Author: btcoburn Date: 2009-01-15.23:18:08
I can't reproduce this (with bash on MacOS X 10.5.5). Moreover, I believe all
completions are handled by your shell -- so this would not be a darcs bug.
msg7119 (view) Author: marcot Date: 2009-01-16.17:18:37
Are you using bash completion in trying to reproduce?

$ . /etc/bash_completion
msg8100 (view) Author: kowey Date: 2009-08-11.18:16:59
It looks like darcs mv --list-options returns results from the repo root (and
not from the current directory).

It's not that hard to fix, but I wouldn't really recommend it for a newbie
either, just somebody who has an idea what the filepath fixing is all about.

Marco: if you'd like to help, one way is to submit a regression test for darcs
mv --list-options: http://wiki.darcs.net/RegressionTests

Thanks!
msg8113 (view) Author: marcot Date: 2009-08-12.12:34:27
Hi Eric.

Em Ter, 2009-08-11 às 18:17 +0000, Eric Kow escreveu:
(...)
> Marco: if you'd like to help, one way is to submit a regression test for darcs
> mv --list-options: http://wiki.darcs.net/RegressionTests

Just added it there and sent to darcs-users.

Greetings.
History
Date User Action Args
2009-01-15 20:38:37marcotcreate
2009-01-15 23:18:11btcoburnsetpriority: bug -> not-our-bug
status: unread -> unknown
messages: + msg7112
nosy: + btcoburn
2009-01-16 17:18:39marcotsetpriority: not-our-bug -> bug
nosy: kowey, simon, marcot, thorkilnaur, btcoburn, dmitry.kurochkin
messages: + msg7119
2009-08-11 18:17:03koweysetstatus: unknown -> needs-implementation
nosy: kowey, simon, marcot, thorkilnaur, btcoburn, dmitry.kurochkin
topic: + Confirmed
messages: + msg8100
title: Wrong completion in darcs mv (bash) -> Wrong completion in darcs mv when in subdirectory (bash)
2009-08-12 12:34:29marcotsetnosy: kowey, simon, marcot, thorkilnaur, btcoburn, dmitry.kurochkin
messages: + msg8113
2009-08-24 11:07:08koweysettopic: - Confirmed
nosy: kowey, simon, marcot, thorkilnaur, btcoburn, dmitry.kurochkin
2009-08-25 17:39:19adminsetnosy: + darcs-devel, - simon
2009-08-27 14:31:41adminsetnosy: kowey, darcs-devel, marcot, thorkilnaur, btcoburn, dmitry.kurochkin
2017-07-30 23:00:18ghsetstatus: needs-implementation -> given-up