ccollins476ad opened a new pull request #138: newt - Don't abort if setting is 
redefined.
URL: https://github.com/apache/mynewt-newt/pull/138
 
 
   Syscfg settings must have unique names.  When newt detected two settings
   with the same name, it would terminate with this error message:
   ```
   setting <name> redefined
   ```
   
   This commit changes two things:
   
   1. The error is now just a warning.  Newt warns the user about the
   issue, but ignores the second definition and proceeds with its
   operation.
   
   Allowing newt to proceed makes it easier to debug the syscfg issue.  Now
   the user can use commands like `target revdep` to debug the issue.
   
   2. The message text is now more detailed:
   ```
   * Warning: setting <name> redefined (pkg1=<pkg-name> pkg2=<pkg-name>)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to