Skip to content
Snippets Groups Projects

repositoryService: implement GetRawChanges

Open Sushil Khanchi requested to merge topic/default/repository-GetRawChanges into branch/default
1 unresolved thread
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -564,8 +564,8 @@
def _exportsingle(repo, ctx, fm, seqno, diffopts):
"""Generator method which yields a bytes stream of exporting `ctx` data.
"""Generator method which yields a bytes stream of `ctx` export.
This method overwrite upstream mercurial's cmdutil._exportsingle(), as
the upstream version directly writes the data to stdout and concatenates
the diff chunks instead of yielding them.
@@ -568,7 +568,11 @@
This method overwrite upstream mercurial's cmdutil._exportsingle(), as
the upstream version directly writes the data to stdout and concatenates
the diff chunks instead of yielding them.
ctx - a changeset context being exported
fm - formatter
seqno - sequence number of `ctx` in the revs being exported by caller
"""
node = ctx.node()
parents = [p.node() for p in ctx.parents() if p]
Loading