~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to notes/inventory-v2.rnc

  • Committer: Lalo Martins
  • Date: 2005-09-15 15:16:12 UTC
  • mfrom: (1185.1.18)
  • mto: (1185.1.22)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: lalo@exoweb.net-20050915151611-86c5de4298bb71f9
merging from integration again.

This is a "checkpoint" commit; the tests don't actually pass, but all the
really hard stuff has been merged (in particular, Aaron's new ancestor:
namespace was moved to revisionspec).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
grammar {
 
2
  file = element file {
 
3
    attribute id { text },
 
4
    attribute name { text }, 
 
5
 
 
6
    # the following attributes are absent on the working-inventory
 
7
    attribute sha1 { text }?,
 
8
    attribute size { text }?,
 
9
 
 
10
    attribute revision { text }?,
 
11
 
 
12
    empty
 
13
  }
 
14
 
 
15
  directory = element directory {
 
16
    attribute id { text },
 
17
    attribute name { text },
 
18
    
 
19
    entry*
 
20
  }
 
21
 
 
22
  entry = 
 
23
    (file | directory )
 
24
 
 
25
  start = element inventory {
 
26
    element root {
 
27
      entry*
 
28
    }
 
29
  }
 
30
}