Remove unused variable.

It's not clear how to return the number of conflicts.  Always return 0
upon success, let's not call it the number of conflicts.
1.4.99.1
Set DEBUG_LEVEL to the highest specified value (conf or CLI).
Set DEBUG_LEVEL to the highest specified value (conf or CLI).
Remove unused variable.

It's not clear how to return the number of conflicts.  Always return 0
upon success, let's not call it the number of conflicts.
Take two: honor behavior specified in the man page

Revert previous attempt at fixing issue and explicitly set the
debug_level after getopt(3) parses the CLI and after pkg_ini() reads
the config file.
Take two: honor behavior specified in the man page

Revert previous attempt at fixing issue and explicitly set the
debug_level after getopt(3) parses the CLI and after pkg_ini() reads
the config file.
Merge branch 'master' of github.com:sean-/pkg
Merge pull request #1108 from sean-/master

Fix behavior in accordance to man page
During removal, if a directory was already removed by a bogus script, continue removing parents.
This was causing leftover directories on japanese/font-* ports
Actually fix the debugging logic

Expose a helper function that allows pkg(1) to set the debug level.

The previous "attempt" at fixing this was waaay too hasty and I didn't even compile test it because the fix looked simple enough that it should be dry-coded successfully.

Pointy Hat To: seanc@
Merge pull request #1111 from sean-/master

Actually fix the debugging logic
Update the sample manifest to ucl format
Tidy up iterator SQL

  - drop explicit qualification of table name by 'main': it's the default
  - similarly drop use of sqlite3_snprintf to replace %Q with 'main'
  - layout SQL code in a consistent style