mergin/cli.py
def show_file_changeset(ctx, path, version):
    """ Displays information about project changes."""
    mc = ctx.obj["client"]
    if mc is None:
        return
    directory = os.getcwd()
    mp = MerginProject(directory)
    project_path = mp.metadata["name"]
    info_dict = mc.project_file_changeset_info(project_path, path, version)
    # TODO: handle exception if Diff not found
    click.secho(json.dumps(info_dict, indent=2))
 Displays information about project changes.
Displays information about project changes.
Displays information about project changes .
def show_file_changeset(ctx, path, version):
    mc = ctx.obj["client"]
    if mc is None:
        return
    directory = os.getcwd()
    mp = MerginProject(directory)
    project_path = mp.metadata["name"]
    info_dict = mc.project_file_changeset_info(project_path, path, version)
    click.secho(json.dumps(info_dict, indent=2))
def show_file_changeset ( ctx , path , version ) : mc = ctx . obj [ "client" ] if mc is None : return directory = os . getcwd ( ) mp = MerginProject ( directory ) project_path = mp . metadata [ "name" ] info_dict = mc . project_file_changeset_info ( project_path , path , version ) click . secho ( json . dumps ( info_dict , indent = 2 ) )
Displays information about project changes.
Displays information about project changes .
""" Displays information about project changes.""" # TODO: handle exception if Diff not found
ctx
path
version