darcs

Issue 238 bug report request, push failure after adds and record

Title bug report request, push failure after adds and record
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, ketil.malde, kowey, lele, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-08-11.13:19:41 by ketil.malde, last changed 2009-08-27.13:48:40 by admin.

Messages
msg885 (view) Author: ketil.malde Date: 2006-08-11.13:19:37
Hmm...I thought I just added a directory and a Makefile, but pushing
it doesn't seem to work?  Here's the entire transcript, let me know if
you want more information!

-k

---8<-------[snip]--------8<------------
polarvier:~/work/rbr/src/test % darcs add .

polarvier:~/work/rbr/src/test % darcs add Makefile

polarvier:~/work/rbr/src/test % darcs what
{
adddir ./src/test
addfile ./src/test/Makefile
hunk ./src/test/Makefile 1
+
+  [..contents snipped..]
+
}

polarvier:~/work/rbr/src/test % darcs rec -am "added (simple) test case"
Finished recording patch 'added (simple) test case'

polarvier:~/work/rbr/src/test % darcs what
No changes!

polarvier:~/work/rbr/src/test % darcs push
darcs: bug in darcs!
Can't make_dotdots on an absolute path:  /test
Please report this to bugs@darcs.net,
If possible include the output of 'darcs --exact-version'.

polarvier:~/work/rbr/src/test % darcs --exact-version
darcs compiled on Jan 17 2006, at 03:05:19
unknown

polarvier:~/work/rbr/src/test % darcs --version
1.0.5 (release)

polarvier:~/work/rbr/src/test % which darcs
/usr/bin/darcs

polarvier:~/work/rbr/src/test % uname -a
Linux polarvier 2.6.15-22-386 #1 PREEMPT Sun May 7 15:49:09 UTC 2006 i686 GNU/Linux

polarvier:~/work/rbr/src/test % cat /etc/issue
Ubuntu 6.06.1 LTS \n \l

polarvier:~/work/rbr/src/test % dpkg -L darcs
/.
/usr
/usr/bin
/usr/bin/darcs
    [...more snippage...]
msg887 (view) Author: droundy Date: 2006-08-11.13:33:10
On Fri, Aug 11, 2006 at 01:19:41PM +0000, Ketil Malde wrote:
> Hmm...I thought I just added a directory and a Makefile, but pushing
> it doesn't seem to work?  Here's the entire transcript, let me know if
> you want more information!

Can you create a script to reproduce this? You're using a rather old
darcs, so my first guess would be that this has already been fixed, so
if we have a test case we can run to check whether it's still present,
that would be great!
-- 
David Roundy
msg888 (view) Author: ketil.malde Date: 2006-08-11.13:47:32
David Roundy <bugs@darcs.net> writes:

> David Roundy <droundy@darcs.net> added the comment:

> On Fri, Aug 11, 2006 at 01:19:41PM +0000, Ketil Malde wrote:
>> Hmm...I thought I just added a directory and a Makefile, but pushing
>> it doesn't seem to work?  Here's the entire transcript, let me know if
>> you want more information!

> Can you create a script to reproduce this? 

Hmm.. I tried for a bit, but haven't been able to yet.

> You're using a rather old darcs,

I know - it's what ships with Ubuntu, though.

> so my first guess would be that this has already been fixed, so
> if we have a test case we can run to check whether it's still present,
> that would be great!

Workaround is to cd out of the freshly added directory, and do the
push from there.  So it's not like it's a showstopper or anything.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
msg891 (view) Author: lele Date: 2006-08-11.17:33:43
Ketil Malde wrote:
> polarvier:~/work/rbr/src/test % darcs push
> darcs: bug in darcs!
> Can't make_dotdots on an absolute path:  /test
> Please report this to bugs@darcs.net,
> If possible include the output of 'darcs --exact-version'.
> 

Could it be that there's no default repository to push to? If so, this 
should be "solved" in a more recent darcs, in that it prints a better 
message explaining that. What does your _darcs/prefs/defaultrepo contain?

bye, lele.
msg1512 (view) Author: kowey Date: 2007-03-08.09:43:10
Marking as resolved.  Please re-open if you run into this with a newer darcs.
History
Date User Action Args
2006-08-11 13:19:41ketil.maldecreate
2006-08-11 13:33:18droundysetstatus: unread -> unknown
nosy: droundy, tommy, ketil.malde
messages: + msg887
2006-08-11 13:47:36ketil.maldesetnosy: droundy, tommy, ketil.malde
messages: + msg888
2006-08-11 17:33:46lelesetnosy: + lele
messages: + msg891
2007-03-08 09:43:31koweysetstatus: unknown -> resolved
nosy: + kowey, beschmi
messages: + msg1512
2009-08-06 17:47:03adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, lele, ketil.malde
2009-08-06 20:42:51adminsetnosy: - beschmi
2009-08-10 21:54:22adminsetnosy: + lele, ketil.malde, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:58:50adminsetnosy: + darcs-devel, - simon
2009-08-27 13:48:40adminsetnosy: tommy, kowey, darcs-devel, lele, ketil.malde, thorkilnaur, dmitry.kurochkin