On Sun, 2009-02-08 at 04:19 -0800, Peter Ruibal wrote:
> # HG changeset patch
> # User Peter Ruibal <[email protected]>
> # Date 1234092887 28800
> # Node ID 21192efb94b47c673ac73e452fb6f3e474088be4
> # Parent  b11c51990c3a2771a1d5571534e61a078ceff6c0
> hgshelve: files() should return os-native path instead of ones from diff.
> 
> This fixes a bug causing the chunk state to not be updated when manually
> changing FM_CHECKED on status/commit dialog on win32.
> 
> diff -r b11c51990c3a -r 21192efb94b4 hggtk/hgshelve.py
> --- a/hggtk/hgshelve.py       Sat Feb 07 15:29:01 2009 -0600
> +++ b/hggtk/hgshelve.py       Sun Feb 08 03:34:47 2009 -0800
> @@ -123,6 +123,7 @@
>  
>      def files(self):
>          fromfile, tofile = self.diff_re.match(self.header[0]).groups()
> +        fromfile, tofile = [os.path.normpath(path) for path in (fromfile, 
> tofile)]
>          if fromfile == tofile:
>              return [fromfile]
>          return [fromfile, tofile]
> 

Can you give me a repro case that this fixes?  I just want to make sure
this is the correct solution, since it will probably need to be applied
to the record extension upstream.

--
Steve


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to