filter - Combine files on commit in Mercurial -


i've got project 2 files want source-control using mercurial:

  • a scx-file binary (database) file
  • a sct-file text file

my filter:

[encode] **.scx = tempfile: sccxml infile outfile 0 [decode] **.scx = tempfile: sccxml infile outfile 1 

problem

  • sccxml receives path scx-file
  • the scx-file can not converted text-file without corresponding sct-file

workarounds

  • is possible combine files before filter runs?
  • is possible pass both file's paths sccxml-converter?

update:

no, i'm using not using win32text extension. sccxml-executable needs both sct-file , scx-file parameter convert them text-file (the text-representations of both files tar'ed 1 file).

i want have binary files text-file in repo, meaningful diffs. trying achieve using precommit hook.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -