Skip to content

Commit

Permalink
Grab-bag of renamings:
Browse files Browse the repository at this point in the history
Remove redundant _NAME from repo constants, and consistently add _REPO suffix (This causes the majority of diffs).

create_branch/commit: Rename dest_dir to local_repo_dir, and repo_name to external_name.
detached head test: doc what 'detached head' is.
write_with_tag: use kwargs because there's a lot of params.  Remove unused defaults.
  • Loading branch information
johnpaulalex committed Feb 3, 2023
1 parent 2dd5ce0 commit 9ea75cb
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 118 deletions.
4 changes: 2 additions & 2 deletions manic/externals_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ class ExternalStatus(object):
"""
# sync_state and clean_state can be one of the following:
DEFAULT = '-' # aka not set yet.
DEFAULT = '-' # not set yet (sync_state). clean_state can be this if sync_state is EMPTY.
UNKNOWN = '?'
EMPTY = 'e'
MODEL_MODIFIED = 's' # repo version != externals (sync_state only)
DIRTY = 'M' # repo is dirty (clean_state only)
STATUS_OK = ' ' # repo is clean/matches externals.
STATUS_OK = ' ' # repo is clean (clean_state) or matches externals version (sync_state)
STATUS_ERROR = '!'

# source_type can be one of the following:
Expand Down
Loading

0 comments on commit 9ea75cb

Please sign in to comment.