Show only the changes which are not in the current channel on the channel view

[?]
Jan 11, 2021, 9:19 PM
TPJNM4C4HERERL4FJFOMZP3IRRZZZKFBCRIZBXDLEMLNXWDOXVYQC

Dependencies

  • [2] 5ZDRHVXD Add command to fork a new channel
  • [3] USPPMDII List channel changes under each channel in Channels view
  • [4] VWRDBPJZ Add command and menu option for adding one or more files to the repository
  • [5] L3VOQYAF Add changelog view to the source control panel
  • [6] GNQD74OZ Add pijul.openChange command and text document provider for pijul-change scheme
  • [7] VT237HUJ Add tree view for channels
  • [8] NCBEWRYE Initialize Repository
  • [9] ZI7ORD4P Add iconv dependency
  • [*] ZGMIJNFV Create pijul.ts for executing commands using the Pijul CLI
  • [*] YUVLBWV3 Populate resource groups for unrecorded and untracked changes
  • [*] OXW4KMVU Add QuickDiffProvider
  • [*] L44OILGK Add reset command to resource state context menu

Change contents

  • edit in yarn.lock at line 2193
    [4.82625]
    [4.82625]
    set-operations@^1.2.1:
    version "1.2.1"
    resolved "https://registry.yarnpkg.com/set-operations/-/set-operations-1.2.1.tgz#b56f6d9616796eecb360a0869c1209e692d9c7f6"
    integrity sha512-1+d3XSfCYr6Aym86QU7lkr24WmfabrHUAVfhu0plTLjG6BrpVqRnMcvVvxG2Lz/EfwfQU5nqrhISY6zsecr+Fg==
  • replacement in src/views/channels.ts at line 56
    [3.1529][3.1529:1588]()
    return await this.repository.getLog(element.name);
    [3.1529]
    [3.1588]
    // TODO: Distinguish between changes in the current channel and not in the other channel and
    // changes in the other channel which are not in the current channel
    return await this.repository.compareChannelChanges(element.name);
  • edit in src/pijul.ts at line 5
    [12.692]
    [13.62]
    import { difference } from 'set-operations';
  • edit in src/pijul.ts at line 461
    [4.2061]
    [14.763]
    }
    /**
    * Compare the changes in another channel against the main channel
    * @param otherChannelName The name of the other channel to compare against
    */
    async compareChannelChanges (otherChannelName: string): Promise<PijulChange[]> {
    // TODO: Caching and other easy optimizations
    return difference(await this.getLog(otherChannelName), await this.getLog(), true);
  • replacement in package.json at line 407
    [2.1276][2.1276:1296]()
    "view/title" : [
    [2.1276]
    [2.1296]
    "view/title": [
  • replacement in package.json at line 409
    [2.1302][2.1302:1414]()
    "command": "pijul.forkChannel",
    "when": "view == pijul.views.channels",
    [2.1302]
    [2.1414]
    "command": "pijul.forkChannel",
    "when": "view == pijul.views.channels",
  • replacement in package.json at line 414
    [2.1454][2.1454:1566]()
    "command": "pijul.forkChannel",
    "when": "view == pijul.views.channels",
    [2.1454]
    [2.1566]
    "command": "pijul.forkChannel",
    "when": "view == pijul.views.channels",
  • replacement in package.json at line 417
    [2.1588][2.1588:1606]()
    }
    [2.1588]
    [4.1794]
    }
  • replacement in package.json at line 578
    [4.402][4.402:431]()
    "iconv-lite-umd": "^0.6.8"
    [4.402]
    [4.109588]
    "iconv-lite-umd": "^0.6.8",
    "set-operations": "^1.2.1"
  • replacement in package.json at line 581
    [4.109591][4.2477:2478]()
    }
    [4.109591]
    }