#1372 closed defect (fixed)

clarify help for 'tahoe put --mutable'

Reported by: davidsarah Owned by: davidsarah
Priority: minor Milestone: 1.10.0
Component: code-frontend-cli Version: 1.8.2
Keywords: tahoe-put mutable usability help docs easy Cc:
Launchpad Bug:

Description

A user was confused by the fact that tahoe put -m LOCAL_FILE REMOTE_FILE will overwrite the contents of REMOTE_FILE if it already exists (and therefore will print the same URI on each run):

http://tahoe-lafs.org/pipermail/tahoe-dev/2011-February/006186.html

The help for tahoe put is not sufficiently clear about the behaviour in this case.

Change History (8)

comment:1 Changed at 2011-02-25T18:08:11Z by davidsarah

  • Owner set to davidsarah
  • Status changed from new to assigned

comment:2 Changed at 2011-08-14T00:12:45Z by davidsarah

  • Keywords easy added
  • Milestone changed from 1.9.0 to 1.10.0

comment:3 Changed at 2012-04-01T03:57:24Z by davidsarah

  • Milestone changed from 1.11.0 to 1.10.0

comment:5 Changed at 2013-03-20T19:03:07Z by David-Sarah Hopwood <david-sarah@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 656e8195600f425a:

Improve 'tahoe put --help' to clarify behaviour for mutable files, and
make sure the documented behaviour is tested. fixes #1372

Signed-off-by: David-Sarah Hopwood <david-sarah@…>

comment:6 Changed at 2013-03-20T19:04:29Z by warner

Looks good, landed. Thanks!

comment:7 Changed at 2013-03-20T19:28:28Z by warner

oops, the test was asserting that stderr was empty, whereas the actual command emits a 201 Created or 200 OK. I've updated the test to match.

comment:8 Changed at 2013-03-20T21:49:24Z by davidsarah

Huh, that was careless of me. I must not have re-tested after my last change.

Note: See TracTickets for help on using tickets.