Skip to content

Conversation

@idbrii
Copy link

@idbrii idbrii commented Nov 24, 2020

Fix files in changelists don't appear in status(). Add changelist
attribute to status() result.

Since svn status includes files in changelists, it makes sense for
status() to include them as well. Add a field to _STATUS_ENTRY for
changelist. Files without a changelist have changelist=None and
otherwise changelist is the name of the changelist.

Rework the status test to use assertIsNotNone and assertEqual to give
better error messages. Invalid filenames produce KeyError and are not
None, so checking for None wasn't really preventing errors.

Fix files in changelists don't appear in status(). Add changelist
attribute to status() result.

Since `svn status` includes files in changelists, it makes sense for
status() to include them as well. Add a field to _STATUS_ENTRY for
changelist. Files without a changelist have changelist=None and
otherwise changelist is the name of the changelist.

Rework the status test to use assertIsNotNone and assertEqual to give
better error messages. Invalid filenames produce KeyError and are not
None, so checking for None wasn't really preventing errors.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 78.352% when pulling 197359b on idbrii:status-changelist into c0878be on dsoprea:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants