Fossil

Check-in [442a3cd5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add TODO: reimplement ls and extras in terms of status_report()
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | andygoth-changes
Files: files | file ages | folders
SHA1: 442a3cd5e56bcc514c7bf8bd344910b5dfaa7914
User & Date: andygoth 2016-11-05 22:41:55.041
Context
2016-11-05
23:11
Merge the status command into the changes command. ... (check-in: 2c3a108c user: andygoth tags: andygoth-changes)
22:41
Add TODO: reimplement ls and extras in terms of status_report() ... (check-in: 442a3cd5 user: andygoth tags: andygoth-changes)
22:40
Adjust the way --changed is implemented. Improve documentation. Avoid saying EDITED for files with other types of changes if those change types were not selected for display. ... (check-in: 2408fd1c user: andygoth tags: andygoth-changes)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/checkin.c.
158
159
160
161
162
163
164

165
166
167
168
169
170
171
      zClass = "RENAMED";
    }else if( (flags & C_UNMODIFIED) && !isDeleted && !isMissing && !isNew
                                     && !isChnged  && !isRenamed ){
      /* TODO: never gets executed because query only yields modified files. */
      zClass = "UNMODIFIED";
    }
    /* TODO: implement C_EXTRA. */


    /* Only report files for which a change classification was determined. */
    if( zClass ){
      /* If C_COMMENT, precede each line with "# ". */
      if( flags & C_COMMENT ){
        blob_append(report, "# ", 2);
      }







>







158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
      zClass = "RENAMED";
    }else if( (flags & C_UNMODIFIED) && !isDeleted && !isMissing && !isNew
                                     && !isChnged  && !isRenamed ){
      /* TODO: never gets executed because query only yields modified files. */
      zClass = "UNMODIFIED";
    }
    /* TODO: implement C_EXTRA. */
    /* TODO: reimplement ls and extras in terms of this function. */

    /* Only report files for which a change classification was determined. */
    if( zClass ){
      /* If C_COMMENT, precede each line with "# ". */
      if( flags & C_COMMENT ){
        blob_append(report, "# ", 2);
      }