Re: [rock-user] site: Related Projects->Submaster

Mathieu Doidy <[email protected]>
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
hi,

++ 18/04/04 - Terry Mackintosh:
> The last line, what is being said here?
> 
> 1. Discard old patch
> 2. Download same patch?
> 
> if so, then:
> 
> "Discard the old patch in the web interface and then download it 
> afterwards."

that's what is meant

> 
> Though I'm not familiar with this, it does not seem to make sense... 
> download something that has been deleted? is this correct?

it is only "marked" as discarded that is it should not be applied to
the tree.
but it is still available in the submaster archives

> I suspect that 'download' should be 'upload', that one is uploading the 
> new replacement for the old patch.  But as this is quite a different 
> meaning and as I know nothing about sm, I want to ask before blasting 
> ahead and getting it wrong.
> 
> "Discard the old patch in the web interface and then upload the new one."
> 
> Correct?

no, you need to download the old patch, it is used by the sm patch command
to create the new patch

the scheme is :
1. Discard patch $id in submaster (assuming $id is patch's id)
2. sm get $id (to retrieve the patch)
3. <make some changes and sm commit them> (it creates a new revision $rev)
4. sm patch $id.patch $rev (to create the new patch)
5. sm send (to upload the new patch in submaster)


hoping i could make it clearer,

  mathieu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.