Dan McDonald wrote:
> On Thu, Nov 06, 2008 at 05:06:04PM +0000, Stacey Jonathan Marshall wrote:
>   
>> The last two are a couple of the  ones your interested in from previous 
>> email.
>> So whats in your ignore file:
>>
>> kebe(5.11-64i)$ grep -v ^\# /home/danmcd/ws/bugfixes/.hgignore
>> syntax: glob
>> *
>>
>> Eek, your telling it to ignore everything?
>>     
>
> That's what it says, but I managed to commit the sadb.c change, just not the
> sadb.h or ip_sadb.c change.
>
>   
Might you have specifically mentioned that file by name?

try 'hg commit usr/.../sab.h usr/.../ip_sadb.c'
>> I think that might be the issue here. 
>> Also, I think 'hg outgoing' only shows committed files.
>>     
>
> I couldn't even COMMIT the changes to ip_sadb.c and sadb.h.  And even now:
>
> kebe(inet/ip)[0]% history |tail
>     71  11:35   hg status
>     72  11:51   cd
>     73  11:59   ssh everywhere
>     74  12:10   cd ws/bugfixes
>     75  12:10   mv .hgignore .hgignore-NOTNOW
>     76  12:10   cd usr/src/uts/common/inet/ip
>     77  12:10   ls
>     78  12:10   hg commit
>     79  12:10   history
>     80  12:10   history | tail
> kebe(inet/ip)[0]% hg commit
> nothing changed
>   
With that ignore file still in place?  I assume not.

But then your prior 'hg list' had a question mark against it, and not an 
'M' for modified so its possibly confused???

What happens when you:
cp file bak
hg revert file
cat bak > file
hg commit -m "just do it" file

Where file is the file you want committed.

Playing around in a repo with .hgignore as above here sure does cause 
some confusion.

Stace


Reply via email to