Opened 6 years ago

Last modified 4 years ago

#2500 new defect

Options to the try command are not optional

Reported by: refl Owned by:
Priority: major Milestone: 0.9.+
Version: 0.8.7p1 Keywords: hg, simple, try
Cc:

Description

When run with --vc hg, the try command fails to handle some of its options correctly. The result is that you must specify them when you would expect that they are optional. Also, the error messages you get are not very helpful.

You must specify --repository. Otherwise, the hg log command is not properly generated, resulting in an error.

When using -c ssh, you must specify -u. Otherwise, you get an exception: exceptions.TypeError: Arguments contain a non-string value

When you don't specify -b, you get an exception: exceptions.TypeError: 'NoneType' object is not iterable

Change History (2)

comment:1 Changed 6 years ago by dustin

  • Keywords hg simple try added
  • Milestone changed from undecided to 0.8.+
  • Type changed from undecided to defect

comment:2 Changed 4 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.