Ticket UUID: | 89b54e57b464fa8a51515295ae9be9da014f6024 | ||
Title: | branch new asks to sign although clearsign says not to sign | ||
Status: | Closed | Type: | Code_Defect |
Severity: | Minor | Priority: | |
Subsystem: | Resolution: | Duplicate | |
Last Modified: | 2011-09-08 21:21:36 | ||
Version Found In: | cabf810b0b | ||
Description & Comments: | |||
I'm always asked to sign my branch (not using omitsign) Is this intentional or should branch new obey the global clearsign setting like commit does?
drh added on 2010-10-03 18:12:08: I suspect that the "branch new" command stems from prior exposure to other VCSes (svn perhaps?) where branches do have to be explicitly created prior to use. But Fossil does not work that way. My suspicion is that the "branch new" command was added for familiarity for people coming from other VCSes. I did not have anything to do with the "branch" command myself. Looking further, I see that the "branch list" command does not appear very helpful either, at least not in its current form. Perhaps if "branch list" actually returned a list of branches, rather than a timeline, it would be useful for something. But in its present form, my preference would be to remove the entire "branch" command - both "branch new" and "branch list". So, are there any objections to solving this ticket simply by removing the "branch" command? What arguments are there in favor of keeping the "branch" command around? wolfgang added on 2010-10-03 18:36:42:
So i prevent to checkin something on the main trunk, which shouldn't be there. Without defining the branch at the development start, i have to remember to give my 'branch' a name and a background color - until first commit. This working style is inspired by cvs, but i think, it works well with fossil. Instead of "fossil branch list" i always use the gui, so i don't need this command. best regards Wolfgang renez added on 2010-10-04 20:22:02:
Would it be logical if you could do also:
wolfgang added on 2010-10-04 20:48:34: OK, we can do a commt with branch and force. This would be a proper replacement for the branch new command. But in this case, it should be mentioned in the documentation - maybe as a table of command replacements:
dmitry added on 2011-09-08 21:21:36 UTC: |