[issue1386] PNG files (and directories) being lost in queue's on qpop && qpush

Sumit Chachra mercurial-bugs at selenic.com
Wed Nov 12 14:42:56 CST 2008


New submission from Sumit Chachra <sumituee at hotmail.com>:

I'm usng 1.0.2 and have been facing issues with queue's. Everything works except
png files and their enclosing directories vanish when I do hg qpop && hg qpush

Its all very weird! The other weird thing is in the patch file it shows not
added but:

diff -r d78c4ecae5b6 tivix/public/images/crm/logo.png
Binary file tivix/public/images/crm/logo.png has changed


Pasting the log of things I was doing below:


sumit-chachras-macbook-pro:tivix chachra$ hgs
M tivix/templates/crm/home.html
? tivix/public/css/apps/crm.css
? tivix/public/images/crm/logo.png
sumit-chachras-macbook-pro:tivix chachra$ hgd
diff -r 8244a69bf842 tivix/templates/crm/home.html
--- a/tivix/templates/crm/home.html	Tue Nov 11 23:12:58 2008 -0800
+++ b/tivix/templates/crm/home.html	Wed Nov 12 11:36:36 2008 -0800
@@ -1,6 +1,10 @@
 {% extends "base.html" %}
 
 {% block title %} Apps - Contact Management {% endblock %}
+
+{% block includes %} 
+  <link href="/public/css/apps/crm.css" rel="stylesheet" type="text/css"
media="screen" />
+{% endblock %}
 
 {% block content %}
   <a href="/apps/crm/add/?" class="thickbox">Add Contact</a><br/>
sumit-chachras-macbook-pro:tivix chachra$ hg add
adding public/css/apps/crm.css
adding public/images/crm/logo.png
sumit-chachras-macbook-pro:tivix chachra$ 
sumit-chachras-macbook-pro:tivix chachra$ hgqr
sumit-chachras-macbook-pro:tivix chachra$ 
sumit-chachras-macbook-pro:tivix chachra$ hgs
sumit-chachras-macbook-pro:tivix chachra$ cd ..
sumit-chachras-macbook-pro:t2 chachra$ ls
tivix
sumit-chachras-macbook-pro:t2 chachra$ cd .
sumit-chachras-macbook-pro:t2 chachra$ cd ..
sumit-chachras-macbook-pro:work chachra$ ls
t2
sumit-chachras-macbook-pro:work chachra$ ls al
ls: al: No such file or directory
sumit-chachras-macbook-pro:work chachra$ ls -al
total 8
drwxr-xr-x   3 chachra  staff  102 Nov  5 21:36 .
drwxr-xr-x+ 29 chachra  staff  986 Nov 11 23:14 ..
sumit-chachras-macbook-pro:work chachra$ ls
dev-backup t2
sumit-chachras-macbook-pro:work chachra$ t2
sumit-chachras-macbook-pro:tivix chachra$ 
sumit-chachras-macbook-pro:tivix chachra$ ls -al public/images/crm/
total 40
drwxr-xr-x  3 chachra  staff    102 Nov 11 23:15 .
drwxr-xr-x  8 chachra  staff    272 Nov 11 23:15 ..
-rw-r--r--@ 1 chachra  staff  19739 Nov 11 23:15 logo.png
sumit-chachras-macbook-pro:tivix chachra$ 
sumit-chachras-macbook-pro:tivix chachra$ hg qpop
Patch queue now empty
sumit-chachras-macbook-pro:tivix chachra$ hg qpush
applying 28.diff
^[[ANow at: 28.diff
sumit-chachras-macbook-pro:tivix chachra$ ls -al public/images/crm/
ls: public/images/crm/: No such file or directory
sumit-chachras-macbook-pro:tivix chachra$

----------
messages: 7893
nosy: chachra
priority: urgent
status: unread
title: PNG files (and directories) being lost in queue's on qpop && qpush

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1386>
____________________________________________________



More information about the Mercurial-devel mailing list