I wasn't sure if it was mercurial issue or a tortoisehg issue. I can ask
it there if you would prefer. I am using 1.0.2 and do not have git diffs
turned on. From what I understand about the git diffs (as limited as it
is) it didn't seem to matter when it came to creating a new binary file
but rather detecting changes in binary files.

--Josh

-----Original Message-----
From: Steve Borho [mailto:[email protected]] 
Sent: Wednesday, May 12, 2010 3:16 PM
To: Josh Malinski
Cc: TortoiseHg list
Subject: Re: [thg] Issue importing binary file

On Wed, May 12, 2010 at 4:50 PM, Josh Malinski
<[email protected]> wrote:
> I am running into an issue with importing a patch that contains a
binary
> file. In my case this is a bmp and/or png files (I have tested both
types).
>
>
>
> If I in a cloned test repository I commit a change which includes a
new
> bmp/png file, everything works just fine. I export this change as a
patch
> and import it into another repository which can either be the parent
repo or
> another clone (the parent is the scenario I am wanting to make work).
The
> application of the patch fails "abort: patch command failed: exited
with
> status 1", now this only fails if the only file in the update is the
bmp/png
> file. If the patch contains another file like a text file and a
bmp/png
> file, the application of the patch doesn't show any errors but the
binary
> file doesn't ever get created in the repository.
>
>
>
> As a side note, pushing from the clone works just fine, it is only
when
> exporting then importing that fails. Also the size of the binary file
isn't
> an issue, it is only 4k.
>
>
>
> Is this a limitation when using binary files or am I doing something
wrong?

This is mostly a Mercurial question, but we'll help as we can.  What
version of TortoiseHg are you using?  And do you have git diffs
enabled?

--
Steve Borho


------------------------------------------------------------------------------

_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to