Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • meld meld
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 187
    • Issues 187
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • meldmeld
  • Issues
  • #642

Closed (duplicated)
(duplicated)
Open
Created Jan 12, 2022 by Denis Nikiforov@AresEkb

Add comparison of a folder with its specific revision (not latest one)

It would be very useful to compare current folder state with a specific revision. For example, if one needs to review changes made to a branch.

It seems that meld already has some related code (in version 3.20.4). For example, in vc/svn.py:

   def get_path_for_repo_file(self, path, commit=None):
        if commit is None:
            commit = "BASE"
        else:
            raise NotImplementedError()

        if not path.startswith(self.root + os.path.sep):
            raise _vc.InvalidVCPath(self, path, "Path not in repository")
        path = path[len(self.root) + 1:]

        args = [self.CMD, "cat", "-r", commit, path]
        return _vc.call_temp_output(args, cwd=self.root)

However in the latest version -r parameter is removed:

args = [self.CMD, "-q", "update", "-p", path]

Do you plan to remove the code related to revision selection?

This function seems very useful, because there is no a simple Linux tool to compare revisions of whole folders.

Edited Jan 12, 2022 by Andre Klapper
Assignee
Assign to
Time tracking