[tahoe-dev] [tahoe-lafs] #705: "tahoe mv" unlinks the target even when it is a directory

tahoe-lafs trac at allmydata.org
Fri Jul 3 22:53:14 PDT 2009


#705: "tahoe mv" unlinks the target even when it is a directory
-------------------------------+--------------------------------------------
 Reporter:  zooko              |           Owner:       
     Type:  defect             |          Status:  new  
 Priority:  critical           |       Milestone:  1.5.0
Component:  code-frontend-cli  |         Version:  1.4.1
 Keywords:  reliability        |   Launchpad_bug:       
-------------------------------+--------------------------------------------

Comment(by kevan):

 It turns out that the logic for the first point was already in
 {{{tahoe_mv.py}}} -- just not the behavior itself.

 From a cursory look at the webapi docs, appending something to a directory
 is as simple as sticking the name of the child after the name of the
 directory in the URL -- so if we want to add {{{tahoe:test.pdf}}} to
 {{{tahoe:testdir/}}}, we can make

 {{{
 http://127.0.0.1:3456/uri/<cap>/testdir/test.pdf
 }}}

 unless I'm misunderstanding something. That's basically what I did in this
 patch.

 I haven't looked into implementing the second part yet.

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/705#comment:4>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list